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

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: Addressed Michi's comments. 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
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index b6ad29713277d9cd25cbf3cebe12a387ad2cc6b1..5b7a917e7664d9ed471ed30a6d9e0e7e4aed9c68 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(); }
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698