| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // Define list of builtins used by the debugger implemented in assembly. | 143 // Define list of builtins used by the debugger implemented in assembly. |
| 144 #define BUILTIN_LIST_DEBUG_A(V) \ | 144 #define BUILTIN_LIST_DEBUG_A(V) \ |
| 145 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, kNoExtraICState) \ | 145 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, kNoExtraICState) \ |
| 146 V(Slot_DebugBreak, BUILTIN, DEBUG_STUB, kNoExtraICState) \ | 146 V(Slot_DebugBreak, BUILTIN, DEBUG_STUB, kNoExtraICState) \ |
| 147 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, kNoExtraICState) \ | 147 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, kNoExtraICState) \ |
| 148 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, kNoExtraICState) | 148 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, kNoExtraICState) |
| 149 | 149 |
| 150 // Define list of builtins implemented in JavaScript. | 150 // Define list of builtins implemented in JavaScript. |
| 151 #define BUILTINS_LIST_JS(V) \ | 151 #define BUILTINS_LIST_JS(V) \ |
| 152 V(EQUALS, 1) \ | 152 V(EQUALS, 1) \ |
| 153 V(STRICT_EQUALS, 1) \ | |
| 154 V(COMPARE, 2) \ | 153 V(COMPARE, 2) \ |
| 155 V(COMPARE_STRONG, 2) \ | 154 V(COMPARE_STRONG, 2) \ |
| 156 V(ADD, 1) \ | 155 V(ADD, 1) \ |
| 157 V(ADD_STRONG, 1) \ | 156 V(ADD_STRONG, 1) \ |
| 158 V(SUB, 1) \ | 157 V(SUB, 1) \ |
| 159 V(SUB_STRONG, 1) \ | 158 V(SUB_STRONG, 1) \ |
| 160 V(MUL, 1) \ | 159 V(MUL, 1) \ |
| 161 V(MUL_STRONG, 1) \ | 160 V(MUL_STRONG, 1) \ |
| 162 V(DIV, 1) \ | 161 V(DIV, 1) \ |
| 163 V(DIV_STRONG, 1) \ | 162 V(DIV_STRONG, 1) \ |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 | 344 |
| 346 friend class BuiltinFunctionTable; | 345 friend class BuiltinFunctionTable; |
| 347 friend class Isolate; | 346 friend class Isolate; |
| 348 | 347 |
| 349 DISALLOW_COPY_AND_ASSIGN(Builtins); | 348 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 350 }; | 349 }; |
| 351 | 350 |
| 352 } } // namespace v8::internal | 351 } } // namespace v8::internal |
| 353 | 352 |
| 354 #endif // V8_BUILTINS_H_ | 353 #endif // V8_BUILTINS_H_ |
| OLD | NEW |