Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: src/ic/mips/ic-mips.cc

Issue 1424703005: Remove JSBuiltinsObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 #include "src/ic/ic-compiler.h" 9 #include "src/ic/ic-compiler.h"
10 #include "src/ic/stub-cache.h" 10 #include "src/ic/stub-cache.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 15
16 // ---------------------------------------------------------------------------- 16 // ----------------------------------------------------------------------------
17 // Static IC stub generators. 17 // Static IC stub generators.
18 // 18 //
19 19
20 #define __ ACCESS_MASM(masm) 20 #define __ ACCESS_MASM(masm)
21 21
22 22
23 static void GenerateGlobalInstanceTypeCheck(MacroAssembler* masm, Register type, 23 static void GenerateGlobalInstanceTypeCheck(MacroAssembler* masm, Register type,
24 Label* global_object) { 24 Label* global_object) {
25 // Register usage: 25 // Register usage:
26 // type: holds the receiver instance type on entry. 26 // type: holds the receiver instance type on entry.
27 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_OBJECT_TYPE)); 27 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_OBJECT_TYPE));
28 __ Branch(global_object, eq, type, Operand(JS_BUILTINS_OBJECT_TYPE));
29 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_PROXY_TYPE)); 28 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_PROXY_TYPE));
30 } 29 }
31 30
32 31
33 // Helper function used from LoadIC GenerateNormal. 32 // Helper function used from LoadIC GenerateNormal.
34 // 33 //
35 // elements: Property dictionary. It is not clobbered if a jump to the miss 34 // elements: Property dictionary. It is not clobbered if a jump to the miss
36 // label is done. 35 // label is done.
37 // name: Property name. It is not clobbered if a jump to the miss label is 36 // name: Property name. It is not clobbered if a jump to the miss label is
38 // done 37 // done
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 patcher.ChangeBranchCondition(ne); 905 patcher.ChangeBranchCondition(ne);
907 } else { 906 } else {
908 DCHECK(Assembler::IsBne(branch_instr)); 907 DCHECK(Assembler::IsBne(branch_instr));
909 patcher.ChangeBranchCondition(eq); 908 patcher.ChangeBranchCondition(eq);
910 } 909 }
911 } 910 }
912 } // namespace internal 911 } // namespace internal
913 } // namespace v8 912 } // namespace v8
914 913
915 #endif // V8_TARGET_ARCH_MIPS 914 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698