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()); |
+} |
+ |
+ |
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())) { |