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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 bool skip_stub_frame = false); | 134 bool skip_stub_frame = false); |
135 static Callable FastNewSloppyArguments(Isolate* isolate, | 135 static Callable FastNewSloppyArguments(Isolate* isolate, |
136 bool skip_stub_frame = false); | 136 bool skip_stub_frame = false); |
137 static Callable FastNewStrictArguments(Isolate* isolate, | 137 static Callable FastNewStrictArguments(Isolate* isolate, |
138 bool skip_stub_frame = false); | 138 bool skip_stub_frame = false); |
139 | 139 |
140 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 140 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
141 static Callable GrowFastDoubleElements(Isolate* isolate); | 141 static Callable GrowFastDoubleElements(Isolate* isolate); |
142 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); | 142 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); |
143 | 143 |
| 144 static Callable NewUnmappedArgumentsElements(Isolate* isolate); |
| 145 static Callable NewRestParameterElements(Isolate* isolate); |
| 146 |
144 static Callable AllocateHeapNumber(Isolate* isolate); | 147 static Callable AllocateHeapNumber(Isolate* isolate); |
145 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ | 148 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ |
146 static Callable Allocate##Type(Isolate* isolate); | 149 static Callable Allocate##Type(Isolate* isolate); |
147 SIMD128_TYPES(SIMD128_ALLOC) | 150 SIMD128_TYPES(SIMD128_ALLOC) |
148 #undef SIMD128_ALLOC | 151 #undef SIMD128_ALLOC |
149 | 152 |
150 static Callable ArgumentAdaptor(Isolate* isolate); | 153 static Callable ArgumentAdaptor(Isolate* isolate); |
151 static Callable Call(Isolate* isolate, | 154 static Callable Call(Isolate* isolate, |
152 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 155 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
153 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 156 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
(...skipping 14 matching lines...) Expand all Loading... |
168 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 171 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
169 | 172 |
170 static Callable ArrayPush(Isolate* isolate); | 173 static Callable ArrayPush(Isolate* isolate); |
171 static Callable FunctionPrototypeBind(Isolate* isolate); | 174 static Callable FunctionPrototypeBind(Isolate* isolate); |
172 }; | 175 }; |
173 | 176 |
174 } // namespace internal | 177 } // namespace internal |
175 } // namespace v8 | 178 } // namespace v8 |
176 | 179 |
177 #endif // V8_CODE_FACTORY_H_ | 180 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |