| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 V(SymbolConstructor, kNone) \ | 181 V(SymbolConstructor, kNone) \ |
| 182 V(SymbolConstructor_ConstructStub, kTarget) \ | 182 V(SymbolConstructor_ConstructStub, kTarget) \ |
| 183 \ | 183 \ |
| 184 V(TypedArrayPrototypeBuffer, kNone) \ | 184 V(TypedArrayPrototypeBuffer, kNone) \ |
| 185 \ | 185 \ |
| 186 V(HandleApiCall, kTargetAndNewTarget) \ | 186 V(HandleApiCall, kTargetAndNewTarget) \ |
| 187 V(HandleApiCallAsFunction, kNone) \ | 187 V(HandleApiCallAsFunction, kNone) \ |
| 188 V(HandleApiCallAsConstructor, kNone) \ | 188 V(HandleApiCallAsConstructor, kNone) \ |
| 189 \ | 189 \ |
| 190 V(RestrictedFunctionPropertiesThrower, kNone) \ | 190 V(RestrictedFunctionPropertiesThrower, kNone) \ |
| 191 V(RestrictedStrictArgumentsPropertiesThrower, kNone) | 191 V(RestrictedStrictArgumentsPropertiesThrower, kNone) \ |
| 192 \ |
| 193 V(CompileAsmJs, kTarget) |
| 192 | 194 |
| 193 // Define list of builtins implemented in assembly. | 195 // Define list of builtins implemented in assembly. |
| 194 #define BUILTIN_LIST_A(V) \ | 196 #define BUILTIN_LIST_A(V) \ |
| 195 V(AllocateInNewSpace, BUILTIN, kNoExtraICState) \ | 197 V(AllocateInNewSpace, BUILTIN, kNoExtraICState) \ |
| 196 V(AllocateInOldSpace, BUILTIN, kNoExtraICState) \ | 198 V(AllocateInOldSpace, BUILTIN, kNoExtraICState) \ |
| 197 \ | 199 \ |
| 198 V(ArgumentsAdaptorTrampoline, BUILTIN, kNoExtraICState) \ | 200 V(ArgumentsAdaptorTrampoline, BUILTIN, kNoExtraICState) \ |
| 199 \ | 201 \ |
| 200 V(ConstructedNonConstructable, BUILTIN, kNoExtraICState) \ | 202 V(ConstructedNonConstructable, BUILTIN, kNoExtraICState) \ |
| 201 \ | 203 \ |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 friend class BuiltinFunctionTable; | 739 friend class BuiltinFunctionTable; |
| 738 friend class Isolate; | 740 friend class Isolate; |
| 739 | 741 |
| 740 DISALLOW_COPY_AND_ASSIGN(Builtins); | 742 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 741 }; | 743 }; |
| 742 | 744 |
| 743 } // namespace internal | 745 } // namespace internal |
| 744 } // namespace v8 | 746 } // namespace v8 |
| 745 | 747 |
| 746 #endif // V8_BUILTINS_H_ | 748 #endif // V8_BUILTINS_H_ |
| OLD | NEW |