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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 static Callable ForInNext(Isolate* isolate); | 156 static Callable ForInNext(Isolate* isolate); |
157 | 157 |
158 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 158 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
159 static Callable GrowFastDoubleElements(Isolate* isolate); | 159 static Callable GrowFastDoubleElements(Isolate* isolate); |
160 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); | 160 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
161 | 161 |
162 static Callable NewUnmappedArgumentsElements(Isolate* isolate); | 162 static Callable NewUnmappedArgumentsElements(Isolate* isolate); |
163 static Callable NewRestParameterElements(Isolate* isolate); | 163 static Callable NewRestParameterElements(Isolate* isolate); |
164 | 164 |
165 static Callable AllocateHeapNumber(Isolate* isolate); | 165 static Callable AllocateHeapNumber(Isolate* isolate); |
166 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | |
167 static Callable Allocate##Type(Isolate* isolate); | |
168 SIMD128_TYPES(SIMD128_ALLOC) | |
169 #undef SIMD128_ALLOC | |
170 | 166 |
171 static Callable ArgumentAdaptor(Isolate* isolate); | 167 static Callable ArgumentAdaptor(Isolate* isolate); |
172 static Callable Call(Isolate* isolate, | 168 static Callable Call(Isolate* isolate, |
173 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 169 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
174 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 170 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
175 static Callable CallWithSpread(Isolate* isolate); | 171 static Callable CallWithSpread(Isolate* isolate); |
176 static Callable CallFunction( | 172 static Callable CallFunction( |
177 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 173 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
178 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 174 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
179 static Callable CallForwardVarargs(Isolate* isolate); | 175 static Callable CallForwardVarargs(Isolate* isolate); |
(...skipping 17 matching lines...) Expand all Loading... |
197 static Callable ArrayConstructor(Isolate* isolate); | 193 static Callable ArrayConstructor(Isolate* isolate); |
198 static Callable ArrayPush(Isolate* isolate); | 194 static Callable ArrayPush(Isolate* isolate); |
199 static Callable FunctionPrototypeBind(Isolate* isolate); | 195 static Callable FunctionPrototypeBind(Isolate* isolate); |
200 static Callable PromiseHandleReject(Isolate* isolate); | 196 static Callable PromiseHandleReject(Isolate* isolate); |
201 }; | 197 }; |
202 | 198 |
203 } // namespace internal | 199 } // namespace internal |
204 } // namespace v8 | 200 } // namespace v8 |
205 | 201 |
206 #endif // V8_CODE_FACTORY_H_ | 202 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |