Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index e9bd15afb9733eecaff0517180fc92e335b8c448..39736bcc2bdf1ca272623aa62bd4720a5cc7bba7 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -3670,7 +3670,7 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() { |
WeakHashTable* table = |
WeakHashTable::cast(heap_->weak_object_to_code_table()); |
table->Iterate(&updating_visitor); |
- table->Rehash(heap_->undefined_value()); |
+ table->Rehash(heap_->isolate()->factory()->undefined_value()); |
} |
// Update pointers from external string table. |