Index: src/compiler/js-create-lowering.cc |
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc |
index bde59c48ec510611b9f9e7d63a6c1c2803360306..5869234ec35d8b0c817de1805878a4608cdf68df 100644 |
--- a/src/compiler/js-create-lowering.cc |
+++ b/src/compiler/js-create-lowering.cc |
@@ -1216,7 +1216,7 @@ Node* JSCreateLowering::AllocateFastLiteral( |
// Actually allocate and initialize the object. |
AllocationBuilder builder(jsgraph(), effect, control); |
builder.Allocate(boilerplate_map->instance_size(), pretenure, |
- Type::OtherObject()); |
+ Type::For(boilerplate_map)); |
builder.Store(AccessBuilder::ForMap(), boilerplate_map); |
builder.Store(AccessBuilder::ForJSObjectProperties(), properties); |
builder.Store(AccessBuilder::ForJSObjectElements(), elements); |