Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 0e7d31c2609311fb2226cc097f16888b730e3004..6fd609f2ab2ef6fad23189d1585ce6b7b181afcc 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1316,6 +1316,16 @@ Bounds Typer::Visitor::TypeJSCreateClosure(Node* node) { |
} |
+Bounds Typer::Visitor::TypeJSCreateLiteralArray(Node* node) { |
+ return Bounds(Type::None(), Type::OtherObject()); |
+} |
+ |
+ |
+Bounds Typer::Visitor::TypeJSCreateLiteralObject(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())) { |