Chromium Code Reviews

Unified Diff: src/compiler/typer.cc

Issue 2561103003: [Turbofan] Add CallConstructWithSpread JSOperator. (Closed)
Patch Set: Fix potential evaluation order issue too Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index 6fb66c612d22cf9de47488ae14c96cb0bbdb6d83..00910eb3effb30f84b1c973f14984cd49c4fa5d4 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1305,6 +1305,10 @@ Type* Typer::Visitor::TypeJSCallConstruct(Node* node) {
return Type::Receiver();
}
+Type* Typer::Visitor::TypeJSCallConstructWithSpread(Node* node) {
+ return Type::Receiver();
+}
+
Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) {
if (fun->IsHeapConstant() && fun->AsHeapConstant()->Value()->IsJSFunction()) {
Handle<JSFunction> function =

Powered by Google App Engine