Index: src/compiler/state-values-utils.cc |
diff --git a/src/compiler/state-values-utils.cc b/src/compiler/state-values-utils.cc |
index 2c7d0edd7a0951d51a2148e9f9baa6d62d172d00..1c23c8ab88cf2482f00d97084bf1f3913db299e1 100644 |
--- a/src/compiler/state-values-utils.cc |
+++ b/src/compiler/state-values-utils.cc |
@@ -105,7 +105,7 @@ Node* StateValuesCache::GetValuesNodeFromCache(Node** nodes, size_t count) { |
StateValuesKey key(count, nodes); |
int hash = StateValuesHashKey(nodes, count); |
ZoneHashMap::Entry* lookup = |
- hash_map_.Lookup(&key, hash, true, ZoneAllocationPolicy(zone())); |
+ hash_map_.LookupOrInsert(&key, hash, ZoneAllocationPolicy(zone())); |
DCHECK_NOT_NULL(lookup); |
Node* node; |
if (lookup->value == nullptr) { |