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

Unified Diff: src/compiler/typer.cc

Issue 1466643002: [turbofan] Initial support for Array constructor specialization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 503589289c77a6c7d762f60413f5fc2cb834fe32..a7ad6b1a48f18253a790e8323a6e32cf91696316 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1215,6 +1215,11 @@ Type* Typer::Visitor::TypeJSCreateArguments(Node* node) {
}
+Type* Typer::Visitor::TypeJSCreateArray(Node* node) {
+ return Type::OtherObject();
+}
+
+
Type* Typer::Visitor::TypeJSCreateClosure(Node* node) {
return Type::OtherObject();
}
@@ -1380,6 +1385,11 @@ Type* Typer::Visitor::TypeJSStoreContext(Node* node) {
}
+Type* Typer::Visitor::TypeJSLoadNativeContext(Node* node) {
+ return Type::Intersect(Type::Internal(), Type::TaggedPointer(), zone());
+}
+
+
Type* Typer::Visitor::TypeJSLoadDynamic(Node* node) { return Type::Any(); }

Powered by Google App Engine
This is Rietveld 408576698