Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6423a17d4144c012dc40a786d6e468398c8aff88..3b336dfb3ebfa32438f20a342b17f3ff80625397 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3052,7 +3052,8 @@ int HashTableBase::ComputeCapacity(int at_least_space_for) { |
return Max(capacity, kMinCapacity); |
} |
-bool HashTableBase::IsKey(Heap* heap, Object* k) { |
+bool HashTableBase::IsKey(Isolate* isolate, Object* k) { |
+ Heap* heap = isolate->heap(); |
return k != heap->the_hole_value() && k != heap->undefined_value(); |
} |