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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 145 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
146 | 146 |
147 static Callable FastNewFunctionContext(Isolate* isolate, | 147 static Callable FastNewFunctionContext(Isolate* isolate, |
148 ScopeType scope_type); | 148 ScopeType scope_type); |
149 static Callable FastNewClosure(Isolate* isolate); | 149 static Callable FastNewClosure(Isolate* isolate); |
150 static Callable FastNewObject(Isolate* isolate); | 150 static Callable FastNewObject(Isolate* isolate); |
151 static Callable FastNewRestParameter(Isolate* isolate); | 151 static Callable FastNewRestParameter(Isolate* isolate); |
152 static Callable FastNewSloppyArguments(Isolate* isolate); | 152 static Callable FastNewSloppyArguments(Isolate* isolate); |
153 static Callable FastNewStrictArguments(Isolate* isolate); | 153 static Callable FastNewStrictArguments(Isolate* isolate); |
154 | 154 |
| 155 static Callable ForInPrepare(Isolate* isolate); |
| 156 static Callable ForInNext(Isolate* isolate); |
| 157 |
155 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 158 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
156 static Callable GrowFastDoubleElements(Isolate* isolate); | 159 static Callable GrowFastDoubleElements(Isolate* isolate); |
157 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); | 160 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
158 | 161 |
159 static Callable NewUnmappedArgumentsElements(Isolate* isolate); | 162 static Callable NewUnmappedArgumentsElements(Isolate* isolate); |
160 static Callable NewRestParameterElements(Isolate* isolate); | 163 static Callable NewRestParameterElements(Isolate* isolate); |
161 | 164 |
162 static Callable AllocateHeapNumber(Isolate* isolate); | 165 static Callable AllocateHeapNumber(Isolate* isolate); |
163 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | 166 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ |
164 static Callable Allocate##Type(Isolate* isolate); | 167 static Callable Allocate##Type(Isolate* isolate); |
(...skipping 29 matching lines...) Expand all Loading... |
194 static Callable ArrayConstructor(Isolate* isolate); | 197 static Callable ArrayConstructor(Isolate* isolate); |
195 static Callable ArrayPush(Isolate* isolate); | 198 static Callable ArrayPush(Isolate* isolate); |
196 static Callable FunctionPrototypeBind(Isolate* isolate); | 199 static Callable FunctionPrototypeBind(Isolate* isolate); |
197 static Callable PromiseHandleReject(Isolate* isolate); | 200 static Callable PromiseHandleReject(Isolate* isolate); |
198 }; | 201 }; |
199 | 202 |
200 } // namespace internal | 203 } // namespace internal |
201 } // namespace v8 | 204 } // namespace v8 |
202 | 205 |
203 #endif // V8_CODE_FACTORY_H_ | 206 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |