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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 static Callable FastCloneRegExp(Isolate* isolate); | 139 static Callable FastCloneRegExp(Isolate* isolate); |
140 static Callable FastCloneShallowArray(Isolate* isolate, | 140 static Callable FastCloneShallowArray(Isolate* isolate, |
141 AllocationSiteMode allocation_mode); | 141 AllocationSiteMode allocation_mode); |
142 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 142 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
143 | 143 |
144 static Callable FastNewFunctionContext(Isolate* isolate, | 144 static Callable FastNewFunctionContext(Isolate* isolate, |
145 ScopeType scope_type); | 145 ScopeType scope_type); |
146 static Callable FastNewClosure(Isolate* isolate); | 146 static Callable FastNewClosure(Isolate* isolate); |
147 static Callable FastNewObject(Isolate* isolate); | 147 static Callable FastNewObject(Isolate* isolate); |
148 static Callable FastNewRestParameter(Isolate* isolate, | 148 static Callable FastNewRestParameter(Isolate* isolate); |
149 bool skip_stub_frame = false); | 149 static Callable FastNewSloppyArguments(Isolate* isolate); |
150 static Callable FastNewSloppyArguments(Isolate* isolate, | 150 static Callable FastNewStrictArguments(Isolate* isolate); |
151 bool skip_stub_frame = false); | |
152 static Callable FastNewStrictArguments(Isolate* isolate, | |
153 bool skip_stub_frame = false); | |
154 | 151 |
155 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 152 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
156 static Callable GrowFastDoubleElements(Isolate* isolate); | 153 static Callable GrowFastDoubleElements(Isolate* isolate); |
157 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); | 154 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
158 | 155 |
159 static Callable NewUnmappedArgumentsElements(Isolate* isolate); | 156 static Callable NewUnmappedArgumentsElements(Isolate* isolate); |
160 static Callable NewRestParameterElements(Isolate* isolate); | 157 static Callable NewRestParameterElements(Isolate* isolate); |
161 | 158 |
162 static Callable AllocateHeapNumber(Isolate* isolate); | 159 static Callable AllocateHeapNumber(Isolate* isolate); |
163 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | 160 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ |
(...skipping 28 matching lines...) Expand all Loading... |
192 | 189 |
193 static Callable ArrayPush(Isolate* isolate); | 190 static Callable ArrayPush(Isolate* isolate); |
194 static Callable FunctionPrototypeBind(Isolate* isolate); | 191 static Callable FunctionPrototypeBind(Isolate* isolate); |
195 static Callable PromiseHandleReject(Isolate* isolate); | 192 static Callable PromiseHandleReject(Isolate* isolate); |
196 }; | 193 }; |
197 | 194 |
198 } // namespace internal | 195 } // namespace internal |
199 } // namespace v8 | 196 } // namespace v8 |
200 | 197 |
201 #endif // V8_CODE_FACTORY_H_ | 198 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |