| 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_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
| 6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 /* Construct */ \ | 78 /* Construct */ \ |
| 79 /* ES6 section 9.2.2 [[Construct]] ( argumentsList, newTarget) */ \ | 79 /* ES6 section 9.2.2 [[Construct]] ( argumentsList, newTarget) */ \ |
| 80 ASM(ConstructFunction) \ | 80 ASM(ConstructFunction) \ |
| 81 /* ES6 section 9.4.1.2 [[Construct]] (argumentsList, newTarget) */ \ | 81 /* ES6 section 9.4.1.2 [[Construct]] (argumentsList, newTarget) */ \ |
| 82 ASM(ConstructBoundFunction) \ | 82 ASM(ConstructBoundFunction) \ |
| 83 ASM(ConstructedNonConstructable) \ | 83 ASM(ConstructedNonConstructable) \ |
| 84 /* ES6 section 9.5.14 [[Construct]] ( argumentsList, newTarget) */ \ | 84 /* ES6 section 9.5.14 [[Construct]] ( argumentsList, newTarget) */ \ |
| 85 ASM(ConstructProxy) \ | 85 ASM(ConstructProxy) \ |
| 86 /* ES6 section 7.3.13 Construct (F, [argumentsList], [newTarget]) */ \ | 86 /* ES6 section 7.3.13 Construct (F, [argumentsList], [newTarget]) */ \ |
| 87 ASM(Construct) \ | 87 ASM(Construct) \ |
| 88 ASM(ConstructWithSpread) \ |
| 88 ASM(JSConstructStubApi) \ | 89 ASM(JSConstructStubApi) \ |
| 89 ASM(JSConstructStubGeneric) \ | 90 ASM(JSConstructStubGeneric) \ |
| 90 ASM(JSBuiltinsConstructStub) \ | 91 ASM(JSBuiltinsConstructStub) \ |
| 91 ASM(JSBuiltinsConstructStubForDerived) \ | 92 ASM(JSBuiltinsConstructStubForDerived) \ |
| 92 TFS(FastNewClosure, BUILTIN, kNoExtraICState, FastNewClosure) \ | 93 TFS(FastNewClosure, BUILTIN, kNoExtraICState, FastNewClosure) \ |
| 93 TFS(FastNewFunctionContextEval, BUILTIN, kNoExtraICState, \ | 94 TFS(FastNewFunctionContextEval, BUILTIN, kNoExtraICState, \ |
| 94 FastNewFunctionContext) \ | 95 FastNewFunctionContext) \ |
| 95 TFS(FastNewFunctionContextFunction, BUILTIN, kNoExtraICState, \ | 96 TFS(FastNewFunctionContextFunction, BUILTIN, kNoExtraICState, \ |
| 96 FastNewFunctionContext) \ | 97 FastNewFunctionContext) \ |
| 97 TFS(FastCloneRegExp, BUILTIN, kNoExtraICState, FastCloneRegExp) \ | 98 TFS(FastCloneRegExp, BUILTIN, kNoExtraICState, FastCloneRegExp) \ |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 \ | 137 \ |
| 137 /* Interpreter */ \ | 138 /* Interpreter */ \ |
| 138 ASM(InterpreterEntryTrampoline) \ | 139 ASM(InterpreterEntryTrampoline) \ |
| 139 ASM(InterpreterPushArgsAndCall) \ | 140 ASM(InterpreterPushArgsAndCall) \ |
| 140 ASM(InterpreterPushArgsAndCallFunction) \ | 141 ASM(InterpreterPushArgsAndCallFunction) \ |
| 141 ASM(InterpreterPushArgsAndTailCall) \ | 142 ASM(InterpreterPushArgsAndTailCall) \ |
| 142 ASM(InterpreterPushArgsAndTailCallFunction) \ | 143 ASM(InterpreterPushArgsAndTailCallFunction) \ |
| 143 ASM(InterpreterPushArgsAndConstruct) \ | 144 ASM(InterpreterPushArgsAndConstruct) \ |
| 144 ASM(InterpreterPushArgsAndConstructFunction) \ | 145 ASM(InterpreterPushArgsAndConstructFunction) \ |
| 145 ASM(InterpreterPushArgsAndConstructArray) \ | 146 ASM(InterpreterPushArgsAndConstructArray) \ |
| 147 ASM(InterpreterPushArgsAndConstructWithSpread) \ |
| 146 ASM(InterpreterEnterBytecodeAdvance) \ | 148 ASM(InterpreterEnterBytecodeAdvance) \ |
| 147 ASM(InterpreterEnterBytecodeDispatch) \ | 149 ASM(InterpreterEnterBytecodeDispatch) \ |
| 148 ASM(InterpreterOnStackReplacement) \ | 150 ASM(InterpreterOnStackReplacement) \ |
| 149 \ | 151 \ |
| 150 /* Code life-cycle */ \ | 152 /* Code life-cycle */ \ |
| 151 ASM(CompileBaseline) \ | 153 ASM(CompileBaseline) \ |
| 152 ASM(CompileOptimized) \ | 154 ASM(CompileOptimized) \ |
| 153 ASM(CompileOptimizedConcurrent) \ | 155 ASM(CompileOptimizedConcurrent) \ |
| 154 ASM(InOptimizationQueue) \ | 156 ASM(InOptimizationQueue) \ |
| 155 ASM(InstantiateAsmJs) \ | 157 ASM(InstantiateAsmJs) \ |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 | 915 |
| 914 friend class Isolate; | 916 friend class Isolate; |
| 915 | 917 |
| 916 DISALLOW_COPY_AND_ASSIGN(Builtins); | 918 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 917 }; | 919 }; |
| 918 | 920 |
| 919 } // namespace internal | 921 } // namespace internal |
| 920 } // namespace v8 | 922 } // namespace v8 |
| 921 | 923 |
| 922 #endif // V8_BUILTINS_BUILTINS_H_ | 924 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |