Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 1055e11d3fb7c37682b63c06fdef0b808f58b505..416c3cb163123abe3a49861e9c34029ca9ff5750 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1876,7 +1876,9 @@ Type* Typer::Visitor::TypeConvertTaggedHoleToUndefined(Node* node) { |
return type; |
} |
-Type* Typer::Visitor::TypeAllocate(Node* node) { return Type::Any(); } |
+Type* Typer::Visitor::TypeAllocate(Node* node) { |
+ return AllocateTypeOf(node->op()); |
+} |
Type* Typer::Visitor::TypeLoadField(Node* node) { |
return FieldAccessOf(node->op()).type; |