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

Unified Diff: src/compiler/typer.cc

Issue 2862213002: [turbofan] Optimized support for CreateGeneratorObject. (Closed)
Patch Set: Cleanup. Created 3 years, 7 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 d514ef02dbe381bff503d8e782efa27a9cf385bd..ec67ba063f5e2dd95c53af761e0bc455da3830fa 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1116,6 +1116,10 @@ Type* Typer::Visitor::TypeJSCreateArguments(Node* node) {
Type* Typer::Visitor::TypeJSCreateArray(Node* node) { return Type::Array(); }
+Type* Typer::Visitor::TypeJSCreateGeneratorObject(Node* node) {
+ return Type::OtherObject();
+}
+
Type* Typer::Visitor::TypeJSCreateClosure(Node* node) {
return Type::Function();
}

Powered by Google App Engine
This is Rietveld 408576698