| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ | 47 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ |
| 48 \ | 48 \ |
| 49 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ | 49 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ |
| 50 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ | 50 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ |
| 51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ | 51 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ |
| 52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ | 52 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ |
| 53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ | 53 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ |
| 54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ | 54 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ |
| 55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ | 55 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ |
| 56 \ | 56 \ |
| 57 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ | |
| 58 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ | 57 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ |
| 59 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ | 58 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ |
| 60 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ | 59 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ |
| 61 \ | 60 \ |
| 62 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) \ | 61 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) \ |
| 63 V(GeneratorPoisonPill, NO_EXTRA_ARGUMENTS) | 62 V(GeneratorPoisonPill, NO_EXTRA_ARGUMENTS) |
| 64 | 63 |
| 65 // Define list of builtins implemented in assembly. | 64 // Define list of builtins implemented in assembly. |
| 66 #define BUILTIN_LIST_A(V) \ | 65 #define BUILTIN_LIST_A(V) \ |
| 67 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 | 337 |
| 339 friend class BuiltinFunctionTable; | 338 friend class BuiltinFunctionTable; |
| 340 friend class Isolate; | 339 friend class Isolate; |
| 341 | 340 |
| 342 DISALLOW_COPY_AND_ASSIGN(Builtins); | 341 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 343 }; | 342 }; |
| 344 | 343 |
| 345 } } // namespace v8::internal | 344 } } // namespace v8::internal |
| 346 | 345 |
| 347 #endif // V8_BUILTINS_H_ | 346 #endif // V8_BUILTINS_H_ |
| OLD | NEW |