summaryrefslogtreecommitdiff
path: root/deps/v8/src/snapshot/roots-serializer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/snapshot/roots-serializer.cc')
-rw-r--r--deps/v8/src/snapshot/roots-serializer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/snapshot/roots-serializer.cc b/deps/v8/src/snapshot/roots-serializer.cc
index 7e459ee811..3b9a7b84ba 100644
--- a/deps/v8/src/snapshot/roots-serializer.cc
+++ b/deps/v8/src/snapshot/roots-serializer.cc
@@ -60,8 +60,8 @@ void RootsSerializer::VisitRootPointers(Root root, const char* description,
void RootsSerializer::CheckRehashability(HeapObject obj) {
if (!can_be_rehashed_) return;
- if (!obj.NeedsRehashing()) return;
- if (obj.CanBeRehashed()) return;
+ if (!obj.NeedsRehashing(cage_base())) return;
+ if (obj.CanBeRehashed(cage_base())) return;
can_be_rehashed_ = false;
}