OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_CODE_FACTORY_H_ | 5 #ifndef V8_CODE_FACTORY_H_ |
6 #define V8_CODE_FACTORY_H_ | 6 #define V8_CODE_FACTORY_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/callable.h" | 10 #include "src/callable.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 static Callable FastNewFunctionContext(Isolate* isolate, | 81 static Callable FastNewFunctionContext(Isolate* isolate, |
82 ScopeType scope_type); | 82 ScopeType scope_type); |
83 | 83 |
84 static Callable AllocateHeapNumber(Isolate* isolate); | 84 static Callable AllocateHeapNumber(Isolate* isolate); |
85 | 85 |
86 static Callable ArgumentAdaptor(Isolate* isolate); | 86 static Callable ArgumentAdaptor(Isolate* isolate); |
87 static Callable Call(Isolate* isolate, | 87 static Callable Call(Isolate* isolate, |
88 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 88 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
89 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 89 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 90 static Callable CallWithArrayLike(Isolate* isolate); |
90 static Callable CallWithSpread(Isolate* isolate); | 91 static Callable CallWithSpread(Isolate* isolate); |
91 static Callable CallFunction( | 92 static Callable CallFunction( |
92 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 93 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
93 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 94 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
94 static Callable CallVarargs(Isolate* isolate); | 95 static Callable CallVarargs(Isolate* isolate); |
95 static Callable CallForwardVarargs(Isolate* isolate); | 96 static Callable CallForwardVarargs(Isolate* isolate); |
96 static Callable CallFunctionForwardVarargs(Isolate* isolate); | 97 static Callable CallFunctionForwardVarargs(Isolate* isolate); |
97 static Callable Construct(Isolate* isolate); | 98 static Callable Construct(Isolate* isolate); |
98 static Callable ConstructWithSpread(Isolate* isolate); | 99 static Callable ConstructWithSpread(Isolate* isolate); |
99 static Callable ConstructFunction(Isolate* isolate); | 100 static Callable ConstructFunction(Isolate* isolate); |
(...skipping 15 matching lines...) Expand all Loading... |
115 static Callable ArrayPop(Isolate* isolate); | 116 static Callable ArrayPop(Isolate* isolate); |
116 static Callable ArrayPush(Isolate* isolate); | 117 static Callable ArrayPush(Isolate* isolate); |
117 static Callable ArrayShift(Isolate* isolate); | 118 static Callable ArrayShift(Isolate* isolate); |
118 static Callable FunctionPrototypeBind(Isolate* isolate); | 119 static Callable FunctionPrototypeBind(Isolate* isolate); |
119 }; | 120 }; |
120 | 121 |
121 } // namespace internal | 122 } // namespace internal |
122 } // namespace v8 | 123 } // namespace v8 |
123 | 124 |
124 #endif // V8_CODE_FACTORY_H_ | 125 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |