Commit bd414037 authored by Steve Blackburn's avatar Steve Blackburn Committed by Commit Bot

Fix incorrect use of ptr by TPH

Bug: v8:9533
Change-Id: I8c8f6d7e2fddae13a9a01a77ac26b1f2ad338889
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2039430Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Steve Blackburn <steveblackburn@google.com>
Cr-Commit-Position: refs/heads/master@{#66147}
parent f5f15871
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment