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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
154 V(ReflectIsExtensible, kNone) \ | 154 V(ReflectIsExtensible, kNone) \ |
155 V(ReflectOwnKeys, kNone) \ | 155 V(ReflectOwnKeys, kNone) \ |
156 V(ReflectPreventExtensions, kNone) \ | 156 V(ReflectPreventExtensions, kNone) \ |
157 V(ReflectSet, kNone) \ | 157 V(ReflectSet, kNone) \ |
158 V(ReflectSetPrototypeOf, kNone) \ | 158 V(ReflectSetPrototypeOf, kNone) \ |
159 \ | 159 \ |
160 V(SymbolConstructor, kNone) \ | 160 V(SymbolConstructor, kNone) \ |
161 V(SymbolConstructor_ConstructStub, kTarget) \ | 161 V(SymbolConstructor_ConstructStub, kTarget) \ |
162 \ | 162 \ |
163 V(HandleApiCall, kTarget) \ | 163 V(HandleApiCall, kTarget) \ |
164 V(HandleApiCallConstruct, kTarget) \ | 164 V(HandleApiCallConstruct, kTargetAndNewTarget) \ |
Benedikt Meurer
2016/04/23 11:57:47
This is not sufficient, as the callsite is custom
Benedikt Meurer
2016/04/23 18:21:45
Actually this is nonsense. The JSConstructStubHelp
adamk
2016/04/25 22:59:55
Yup, this seems to work just fine.
| |
165 V(HandleApiCallAsFunction, kNone) \ | 165 V(HandleApiCallAsFunction, kNone) \ |
166 V(HandleApiCallAsConstructor, kNone) \ | 166 V(HandleApiCallAsConstructor, kNone) \ |
167 \ | 167 \ |
168 V(RestrictedFunctionPropertiesThrower, kNone) \ | 168 V(RestrictedFunctionPropertiesThrower, kNone) \ |
169 V(RestrictedStrictArgumentsPropertiesThrower, kNone) | 169 V(RestrictedStrictArgumentsPropertiesThrower, kNone) |
170 | 170 |
171 // Define list of builtins implemented in assembly. | 171 // Define list of builtins implemented in assembly. |
172 #define BUILTIN_LIST_A(V) \ | 172 #define BUILTIN_LIST_A(V) \ |
173 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 173 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
174 \ | 174 \ |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
673 friend class BuiltinFunctionTable; | 673 friend class BuiltinFunctionTable; |
674 friend class Isolate; | 674 friend class Isolate; |
675 | 675 |
676 DISALLOW_COPY_AND_ASSIGN(Builtins); | 676 DISALLOW_COPY_AND_ASSIGN(Builtins); |
677 }; | 677 }; |
678 | 678 |
679 } // namespace internal | 679 } // namespace internal |
680 } // namespace v8 | 680 } // namespace v8 |
681 | 681 |
682 #endif // V8_BUILTINS_H_ | 682 #endif // V8_BUILTINS_H_ |
OLD | NEW |