Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 4fbbd2a44d9fa95064e76b3c621836dcad7f85d9..18e88310002a7ba497e1f2fa4356db68c445408c 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -472,7 +472,7 @@ void ObjectLiteral::CalculateEmitStore(Zone* zone) { |
// If there is an existing entry do not emit a store unless the previous |
// entry was also an accessor. |
uint32_t hash = literal->Hash(); |
- ZoneHashMap::Entry* entry = table.LookupOrInsert(literal, hash); |
+ ZoneHashMap::Entry* entry = table.LookupOrInsert(literal, hash, allocator); |
if (entry->value != NULL) { |
auto previous_kind = |
static_cast<ObjectLiteral::Property*>(entry->value)->kind(); |