Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: src/code-factory.h

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: Rebase on master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 SIMD128_TYPES(SIMD128_ALLOC) 150 SIMD128_TYPES(SIMD128_ALLOC)
151 #undef SIMD128_ALLOC 151 #undef SIMD128_ALLOC
152 152
153 static Callable ArgumentAdaptor(Isolate* isolate); 153 static Callable ArgumentAdaptor(Isolate* isolate);
154 static Callable Call(Isolate* isolate, 154 static Callable Call(Isolate* isolate,
155 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 155 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
156 TailCallMode tail_call_mode = TailCallMode::kDisallow); 156 TailCallMode tail_call_mode = TailCallMode::kDisallow);
157 static Callable CallFunction( 157 static Callable CallFunction(
158 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 158 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
159 static Callable Construct(Isolate* isolate); 159 static Callable Construct(Isolate* isolate);
160 static Callable ConstructWithSpread(Isolate* isolate);
160 static Callable ConstructFunction(Isolate* isolate); 161 static Callable ConstructFunction(Isolate* isolate);
161 static Callable HasProperty(Isolate* isolate); 162 static Callable HasProperty(Isolate* isolate);
162 static Callable ForInFilter(Isolate* isolate); 163 static Callable ForInFilter(Isolate* isolate);
163 164
164 static Callable InterpreterPushArgsAndCall( 165 static Callable InterpreterPushArgsAndCall(
165 Isolate* isolate, TailCallMode tail_call_mode, 166 Isolate* isolate, TailCallMode tail_call_mode,
166 CallableType function_type = CallableType::kAny); 167 CallableType function_type = CallableType::kAny);
167 static Callable InterpreterPushArgsAndConstruct( 168 static Callable InterpreterPushArgsAndConstruct(
168 Isolate* isolate, CallableType function_type = CallableType::kAny); 169 Isolate* isolate, CallableType function_type = CallableType::kAny);
169 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); 170 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate);
170 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 171 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
171 static Callable InterpreterOnStackReplacement(Isolate* isolate); 172 static Callable InterpreterOnStackReplacement(Isolate* isolate);
172 173
173 static Callable ArrayPush(Isolate* isolate); 174 static Callable ArrayPush(Isolate* isolate);
174 static Callable FunctionPrototypeBind(Isolate* isolate); 175 static Callable FunctionPrototypeBind(Isolate* isolate);
175 static Callable PromiseHandleReject(Isolate* isolate); 176 static Callable PromiseHandleReject(Isolate* isolate);
176 }; 177 };
177 178
178 } // namespace internal 179 } // namespace internal
179 } // namespace v8 180 } // namespace v8
180 181
181 #endif // V8_CODE_FACTORY_H_ 182 #endif // V8_CODE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698