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 #include "src/handles.h" | 8 #include "src/handles.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ | 50 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ |
51 \ | 51 \ |
52 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ | 52 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ |
53 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ | 53 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ |
54 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ | 54 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ |
55 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ | 55 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ |
56 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ | 56 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ |
57 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ | 57 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ |
58 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ | 58 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ |
59 \ | 59 \ |
| 60 V(DateToPrimitive, NO_EXTRA_ARGUMENTS) \ |
| 61 \ |
60 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ | 62 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ |
61 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ | 63 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ |
62 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ | 64 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ |
63 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ | 65 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ |
64 \ | 66 \ |
65 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \ | 67 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \ |
66 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS) | 68 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS) |
67 | 69 |
68 // Define list of builtins implemented in assembly. | 70 // Define list of builtins implemented in assembly. |
69 #define BUILTIN_LIST_A(V) \ | 71 #define BUILTIN_LIST_A(V) \ |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 293 |
292 friend class BuiltinFunctionTable; | 294 friend class BuiltinFunctionTable; |
293 friend class Isolate; | 295 friend class Isolate; |
294 | 296 |
295 DISALLOW_COPY_AND_ASSIGN(Builtins); | 297 DISALLOW_COPY_AND_ASSIGN(Builtins); |
296 }; | 298 }; |
297 | 299 |
298 } } // namespace v8::internal | 300 } } // namespace v8::internal |
299 | 301 |
300 #endif // V8_BUILTINS_H_ | 302 #endif // V8_BUILTINS_H_ |
OLD | NEW |