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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 static Callable FastCloneRegExp(Isolate* isolate); | 142 static Callable FastCloneRegExp(Isolate* isolate); |
143 static Callable FastCloneShallowArray(Isolate* isolate, | 143 static Callable FastCloneShallowArray(Isolate* isolate, |
144 AllocationSiteMode allocation_mode); | 144 AllocationSiteMode allocation_mode); |
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 bool skip_stub_frame = false); | 152 static Callable FastNewSloppyArguments(Isolate* isolate); |
153 static Callable FastNewSloppyArguments(Isolate* isolate, | 153 static Callable FastNewStrictArguments(Isolate* isolate); |
154 bool skip_stub_frame = false); | |
155 static Callable FastNewStrictArguments(Isolate* isolate, | |
156 bool skip_stub_frame = false); | |
157 | 154 |
158 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 155 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
159 static Callable GrowFastDoubleElements(Isolate* isolate); | 156 static Callable GrowFastDoubleElements(Isolate* isolate); |
160 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); | 157 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
161 | 158 |
162 static Callable NewUnmappedArgumentsElements(Isolate* isolate); | 159 static Callable NewUnmappedArgumentsElements(Isolate* isolate); |
163 static Callable NewRestParameterElements(Isolate* isolate); | 160 static Callable NewRestParameterElements(Isolate* isolate); |
164 | 161 |
165 static Callable AllocateHeapNumber(Isolate* isolate); | 162 static Callable AllocateHeapNumber(Isolate* isolate); |
166 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | 163 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ |
(...skipping 30 matching lines...) Expand all Loading... |
197 static Callable ArrayConstructor(Isolate* isolate); | 194 static Callable ArrayConstructor(Isolate* isolate); |
198 static Callable ArrayPush(Isolate* isolate); | 195 static Callable ArrayPush(Isolate* isolate); |
199 static Callable FunctionPrototypeBind(Isolate* isolate); | 196 static Callable FunctionPrototypeBind(Isolate* isolate); |
200 static Callable PromiseHandleReject(Isolate* isolate); | 197 static Callable PromiseHandleReject(Isolate* isolate); |
201 }; | 198 }; |
202 | 199 |
203 } // namespace internal | 200 } // namespace internal |
204 } // namespace v8 | 201 } // namespace v8 |
205 | 202 |
206 #endif // V8_CODE_FACTORY_H_ | 203 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |