diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h index 0e5230f1e0..3767bb38e3 100644 --- a/src/heap/heap-inl.h +++ b/src/heap/heap-inl.h @@ -287,7 +287,7 @@ Address Heap::DeserializerAllocate(AllocationType type, int size_in_bytes) { if (V8_ENABLE_THIRD_PARTY_HEAP_BOOL) { AllocationResult allocation = tp_heap_->Allocate( size_in_bytes, type, AllocationAlignment::kWordAligned); - return allocation.ToObjectChecked().ptr(); + return allocation.ToObjectChecked().address(); } else { UNIMPLEMENTED(); // unimplemented }