OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 #ifndef V8_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_H_ |
6 #define V8_BUILTINS_H_ | 6 #define V8_BUILTINS_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 V(LoadIC_Slow_Strong, LOAD_IC) \ | 132 V(LoadIC_Slow_Strong, LOAD_IC) \ |
133 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ | 133 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ |
134 V(KeyedLoadIC_Slow_Strong, KEYED_LOAD_IC) \ | 134 V(KeyedLoadIC_Slow_Strong, KEYED_LOAD_IC) \ |
135 V(StoreIC_Slow, STORE_IC) \ | 135 V(StoreIC_Slow, STORE_IC) \ |
136 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ | 136 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ |
137 V(LoadIC_Normal, LOAD_IC) \ | 137 V(LoadIC_Normal, LOAD_IC) \ |
138 V(LoadIC_Normal_Strong, LOAD_IC) \ | 138 V(LoadIC_Normal_Strong, LOAD_IC) \ |
139 V(StoreIC_Normal, STORE_IC) | 139 V(StoreIC_Normal, STORE_IC) |
140 | 140 |
141 // Define list of builtins used by the debugger implemented in assembly. | 141 // Define list of builtins used by the debugger implemented in assembly. |
142 #define BUILTIN_LIST_DEBUG_A(V) \ | 142 #define BUILTIN_LIST_DEBUG_A(V) \ |
143 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \ | 143 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, kNoExtraICState) \ |
144 DEBUG_BREAK) \ | 144 V(Slot_DebugBreak, BUILTIN, DEBUG_STUB, kNoExtraICState) \ |
145 V(Slot_DebugBreak, BUILTIN, DEBUG_STUB, \ | 145 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, kNoExtraICState) \ |
146 DEBUG_BREAK) \ | 146 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, kNoExtraICState) |
147 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, \ | |
148 DEBUG_BREAK) \ | |
149 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \ | |
150 DEBUG_BREAK) | |
151 | 147 |
152 // Define list of builtins implemented in JavaScript. | 148 // Define list of builtins implemented in JavaScript. |
153 #define BUILTINS_LIST_JS(V) \ | 149 #define BUILTINS_LIST_JS(V) \ |
154 V(EQUALS, 1) \ | 150 V(EQUALS, 1) \ |
155 V(STRICT_EQUALS, 1) \ | 151 V(STRICT_EQUALS, 1) \ |
156 V(COMPARE, 2) \ | 152 V(COMPARE, 2) \ |
157 V(COMPARE_STRONG, 2) \ | 153 V(COMPARE_STRONG, 2) \ |
158 V(ADD, 1) \ | 154 V(ADD, 1) \ |
159 V(ADD_STRONG, 1) \ | 155 V(ADD_STRONG, 1) \ |
160 V(SUB, 1) \ | 156 V(SUB, 1) \ |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 345 |
350 friend class BuiltinFunctionTable; | 346 friend class BuiltinFunctionTable; |
351 friend class Isolate; | 347 friend class Isolate; |
352 | 348 |
353 DISALLOW_COPY_AND_ASSIGN(Builtins); | 349 DISALLOW_COPY_AND_ASSIGN(Builtins); |
354 }; | 350 }; |
355 | 351 |
356 } } // namespace v8::internal | 352 } } // namespace v8::internal |
357 | 353 |
358 #endif // V8_BUILTINS_H_ | 354 #endif // V8_BUILTINS_H_ |
OLD | NEW |