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/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 static Callable FastNewStrictArguments(Isolate* isolate); | 155 static Callable FastNewStrictArguments(Isolate* isolate); |
156 | 156 |
157 static Callable ForInPrepare(Isolate* isolate); | 157 static Callable ForInPrepare(Isolate* isolate); |
158 static Callable ForInNext(Isolate* isolate); | 158 static Callable ForInNext(Isolate* isolate); |
159 | 159 |
160 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 160 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
161 static Callable GrowFastDoubleElements(Isolate* isolate); | 161 static Callable GrowFastDoubleElements(Isolate* isolate); |
162 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); | 162 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
163 | 163 |
164 static Callable NewUnmappedArgumentsElements(Isolate* isolate); | 164 static Callable NewUnmappedArgumentsElements(Isolate* isolate); |
165 static Callable NewRestParameterElements(Isolate* isolate); | |
166 | 165 |
167 static Callable AllocateHeapNumber(Isolate* isolate); | 166 static Callable AllocateHeapNumber(Isolate* isolate); |
168 | 167 |
169 static Callable ArgumentAdaptor(Isolate* isolate); | 168 static Callable ArgumentAdaptor(Isolate* isolate); |
170 static Callable Call(Isolate* isolate, | 169 static Callable Call(Isolate* isolate, |
171 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 170 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
172 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 171 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
173 static Callable CallWithSpread(Isolate* isolate); | 172 static Callable CallWithSpread(Isolate* isolate); |
174 static Callable CallFunction( | 173 static Callable CallFunction( |
175 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 174 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
(...skipping 19 matching lines...) Expand all Loading... |
195 static Callable ArrayConstructor(Isolate* isolate); | 194 static Callable ArrayConstructor(Isolate* isolate); |
196 static Callable ArrayPush(Isolate* isolate); | 195 static Callable ArrayPush(Isolate* isolate); |
197 static Callable FunctionPrototypeBind(Isolate* isolate); | 196 static Callable FunctionPrototypeBind(Isolate* isolate); |
198 static Callable PromiseHandleReject(Isolate* isolate); | 197 static Callable PromiseHandleReject(Isolate* isolate); |
199 }; | 198 }; |
200 | 199 |
201 } // namespace internal | 200 } // namespace internal |
202 } // namespace v8 | 201 } // namespace v8 |
203 | 202 |
204 #endif // V8_CODE_FACTORY_H_ | 203 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |