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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 static Callable FastNewFunctionContext(Isolate* isolate); | 129 static Callable FastNewFunctionContext(Isolate* isolate); |
130 static Callable FastNewClosure(Isolate* isolate); | 130 static Callable FastNewClosure(Isolate* isolate); |
131 static Callable FastNewObject(Isolate* isolate); | 131 static Callable FastNewObject(Isolate* isolate); |
132 static Callable FastNewRestParameter(Isolate* isolate, | 132 static Callable FastNewRestParameter(Isolate* isolate, |
133 bool skip_stub_frame = false); | 133 bool skip_stub_frame = false); |
134 static Callable FastNewSloppyArguments(Isolate* isolate, | 134 static Callable FastNewSloppyArguments(Isolate* isolate, |
135 bool skip_stub_frame = false); | 135 bool skip_stub_frame = false); |
136 static Callable FastNewStrictArguments(Isolate* isolate, | 136 static Callable FastNewStrictArguments(Isolate* isolate, |
137 bool skip_stub_frame = false); | 137 bool skip_stub_frame = false); |
138 | 138 |
139 static Callable CopyFixedArray(Isolate* isolate); | 139 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
| 140 static Callable GrowFastDoubleElements(Isolate* isolate); |
| 141 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
140 | 142 |
141 static Callable AllocateHeapNumber(Isolate* isolate); | 143 static Callable AllocateHeapNumber(Isolate* isolate); |
142 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | 144 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ |
143 static Callable Allocate##Type(Isolate* isolate); | 145 static Callable Allocate##Type(Isolate* isolate); |
144 SIMD128_TYPES(SIMD128_ALLOC) | 146 SIMD128_TYPES(SIMD128_ALLOC) |
145 #undef SIMD128_ALLOC | 147 #undef SIMD128_ALLOC |
146 | 148 |
147 static Callable ArgumentAdaptor(Isolate* isolate); | 149 static Callable ArgumentAdaptor(Isolate* isolate); |
148 static Callable Call(Isolate* isolate, | 150 static Callable Call(Isolate* isolate, |
149 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 151 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
(...skipping 10 matching lines...) Expand all Loading... |
160 CallableType function_type = CallableType::kAny); | 162 CallableType function_type = CallableType::kAny); |
161 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 163 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
162 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
163 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 165 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
164 }; | 166 }; |
165 | 167 |
166 } // namespace internal | 168 } // namespace internal |
167 } // namespace v8 | 169 } // namespace v8 |
168 | 170 |
169 #endif // V8_CODE_FACTORY_H_ | 171 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |