Fix incorrect use of ptr by TPH
Bug: v8:9533 Change-Id: I8c8f6d7e2fddae13a9a01a77ac26b1f2ad338889 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2039430 Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Steve Blackburn <steveblackburn@google.com> Cr-Commit-Position: refs/heads/master@{#66147}
This commit is contained in:
parent
f5f15871f5
commit
bd414037e9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user