| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, \ | 164 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, \ |
| 165 DEBUG_BREAK) \ | 165 DEBUG_BREAK) \ |
| 166 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \ | 166 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \ |
| 167 DEBUG_BREAK) | 167 DEBUG_BREAK) |
| 168 | 168 |
| 169 // Define list of builtins implemented in JavaScript. | 169 // Define list of builtins implemented in JavaScript. |
| 170 #define BUILTINS_LIST_JS(V) \ | 170 #define BUILTINS_LIST_JS(V) \ |
| 171 V(EQUALS, 1) \ | 171 V(EQUALS, 1) \ |
| 172 V(STRICT_EQUALS, 1) \ | 172 V(STRICT_EQUALS, 1) \ |
| 173 V(COMPARE, 2) \ | 173 V(COMPARE, 2) \ |
| 174 V(COMPARE_STRONG, 2) \ |
| 174 V(ADD, 1) \ | 175 V(ADD, 1) \ |
| 175 V(ADD_STRONG, 1) \ | 176 V(ADD_STRONG, 1) \ |
| 176 V(SUB, 1) \ | 177 V(SUB, 1) \ |
| 177 V(SUB_STRONG, 1) \ | 178 V(SUB_STRONG, 1) \ |
| 178 V(MUL, 1) \ | 179 V(MUL, 1) \ |
| 179 V(MUL_STRONG, 1) \ | 180 V(MUL_STRONG, 1) \ |
| 180 V(DIV, 1) \ | 181 V(DIV, 1) \ |
| 181 V(DIV_STRONG, 1) \ | 182 V(DIV_STRONG, 1) \ |
| 182 V(MOD, 1) \ | 183 V(MOD, 1) \ |
| 183 V(MOD_STRONG, 1) \ | 184 V(MOD_STRONG, 1) \ |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 | 366 |
| 366 friend class BuiltinFunctionTable; | 367 friend class BuiltinFunctionTable; |
| 367 friend class Isolate; | 368 friend class Isolate; |
| 368 | 369 |
| 369 DISALLOW_COPY_AND_ASSIGN(Builtins); | 370 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 370 }; | 371 }; |
| 371 | 372 |
| 372 } } // namespace v8::internal | 373 } } // namespace v8::internal |
| 373 | 374 |
| 374 #endif // V8_BUILTINS_H_ | 375 #endif // V8_BUILTINS_H_ |
| OLD | NEW |