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

Unified Diff: src/compiler/typer.cc

Issue 2949813002: [turbofan] Introduce new JSConstructWithArrayLike operator. (Closed)
Patch Set: Created 3 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index cc627c5693fc37b2e3cfdbc88f3783762629d0dc..cc4b4c2e9e3f1218bd05852b32bed5a1262c902b 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1342,6 +1342,10 @@ Type* Typer::Visitor::TypeJSConstructForwardVarargs(Node* node) {
Type* Typer::Visitor::TypeJSConstruct(Node* node) { return Type::Receiver(); }
+Type* Typer::Visitor::TypeJSConstructWithArrayLike(Node* node) {
+ return Type::Receiver();
+}
+
Type* Typer::Visitor::TypeJSConstructWithSpread(Node* node) {
return Type::Receiver();
}

Powered by Google App Engine
This is Rietveld 408576698