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

Unified Diff: src/compiler/typer.cc

Issue 1105513002: [turbofan] Use FastNewClosureStub if possible. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 years, 8 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 bcf315dddd3849a1c6ac4b817dc0c1a66134e50d..0e7d31c2609311fb2226cc097f16888b730e3004 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1311,6 +1311,11 @@ Bounds Typer::Visitor::TypeJSCreate(Node* node) {
}
+Bounds Typer::Visitor::TypeJSCreateClosure(Node* node) {
+ return Bounds(Type::None(), Type::OtherObject());
titzer 2015/04/27 08:38:48 Now that's precise.
+}
+
+
Type* Typer::Visitor::JSLoadPropertyTyper(Type* object, Type* name, Typer* t) {
// TODO(rossberg): Use range types and sized array types to filter undefined.
if (object->IsArray() && name->Is(Type::Integral32())) {

Powered by Google App Engine
This is Rietveld 408576698