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/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 V(DatePrototypeSetUTCSeconds, kNone) \ | 101 V(DatePrototypeSetUTCSeconds, kNone) \ |
102 V(DatePrototypeToDateString, kNone) \ | 102 V(DatePrototypeToDateString, kNone) \ |
103 V(DatePrototypeToISOString, kNone) \ | 103 V(DatePrototypeToISOString, kNone) \ |
104 V(DatePrototypeToPrimitive, kNone) \ | 104 V(DatePrototypeToPrimitive, kNone) \ |
105 V(DatePrototypeToUTCString, kNone) \ | 105 V(DatePrototypeToUTCString, kNone) \ |
106 V(DatePrototypeToString, kNone) \ | 106 V(DatePrototypeToString, kNone) \ |
107 V(DatePrototypeToTimeString, kNone) \ | 107 V(DatePrototypeToTimeString, kNone) \ |
108 V(DatePrototypeValueOf, kNone) \ | 108 V(DatePrototypeValueOf, kNone) \ |
109 V(DatePrototypeGetYear, kNone) \ | 109 V(DatePrototypeGetYear, kNone) \ |
110 V(DatePrototypeSetYear, kNone) \ | 110 V(DatePrototypeSetYear, kNone) \ |
| 111 V(DatePrototypeToJson, kNone) \ |
111 \ | 112 \ |
112 V(FunctionConstructor, kTargetAndNewTarget) \ | 113 V(FunctionConstructor, kTargetAndNewTarget) \ |
113 V(FunctionPrototypeBind, kNone) \ | 114 V(FunctionPrototypeBind, kNone) \ |
114 V(FunctionPrototypeToString, kNone) \ | 115 V(FunctionPrototypeToString, kNone) \ |
115 \ | 116 \ |
116 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \ | 117 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \ |
117 V(AsyncFunctionConstructor, kTargetAndNewTarget) \ | 118 V(AsyncFunctionConstructor, kTargetAndNewTarget) \ |
118 \ | 119 \ |
119 V(GlobalDecodeURI, kNone) \ | 120 V(GlobalDecodeURI, kNone) \ |
120 V(GlobalDecodeURIComponent, kNone) \ | 121 V(GlobalDecodeURIComponent, kNone) \ |
121 V(GlobalEncodeURI, kNone) \ | 122 V(GlobalEncodeURI, kNone) \ |
122 V(GlobalEncodeURIComponent, kNone) \ | 123 V(GlobalEncodeURIComponent, kNone) \ |
123 \ | 124 \ |
124 V(GlobalEval, kTarget) \ | 125 V(GlobalEval, kTarget) \ |
125 \ | 126 \ |
| 127 V(JsonParse, kNone) \ |
126 V(JsonStringify, kNone) \ | 128 V(JsonStringify, kNone) \ |
127 \ | 129 \ |
128 V(MathAcos, kNone) \ | 130 V(MathAcos, kNone) \ |
129 V(MathAsin, kNone) \ | 131 V(MathAsin, kNone) \ |
130 V(MathAtan, kNone) \ | 132 V(MathAtan, kNone) \ |
131 V(MathFround, kNone) \ | 133 V(MathFround, kNone) \ |
132 V(MathImul, kNone) \ | 134 V(MathImul, kNone) \ |
133 \ | 135 \ |
134 V(ObjectAssign, kNone) \ | 136 V(ObjectAssign, kNone) \ |
135 V(ObjectCreate, kNone) \ | 137 V(ObjectCreate, kNone) \ |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 friend class BuiltinFunctionTable; | 703 friend class BuiltinFunctionTable; |
702 friend class Isolate; | 704 friend class Isolate; |
703 | 705 |
704 DISALLOW_COPY_AND_ASSIGN(Builtins); | 706 DISALLOW_COPY_AND_ASSIGN(Builtins); |
705 }; | 707 }; |
706 | 708 |
707 } // namespace internal | 709 } // namespace internal |
708 } // namespace v8 | 710 } // namespace v8 |
709 | 711 |
710 #endif // V8_BUILTINS_H_ | 712 #endif // V8_BUILTINS_H_ |
OLD | NEW |