diff options
Diffstat (limited to 'chromium/v8/src/heap/cppgc/heap-object-header.cc')
-rw-r--r-- | chromium/v8/src/heap/cppgc/heap-object-header.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/v8/src/heap/cppgc/heap-object-header.cc b/chromium/v8/src/heap/cppgc/heap-object-header.cc index 0f5530114cb..5ff0e230e7f 100644 --- a/chromium/v8/src/heap/cppgc/heap-object-header.cc +++ b/chromium/v8/src/heap/cppgc/heap-object-header.cc @@ -6,9 +6,9 @@ #include "include/cppgc/internal/api-constants.h" #include "src/base/macros.h" +#include "src/base/sanitizer/asan.h" #include "src/heap/cppgc/gc-info-table.h" #include "src/heap/cppgc/heap-page.h" -#include "src/heap/cppgc/sanitizers.h" namespace cppgc { namespace internal { @@ -28,17 +28,17 @@ void HeapObjectHeader::Finalize() { IsLargeObject() ? LargePage::From(BasePage::FromPayload(this))->ObjectSize() : ObjectSize(); - ASAN_UNPOISON_MEMORY_REGION(Payload(), size); + ASAN_UNPOISON_MEMORY_REGION(ObjectStart(), size); #endif // V8_USE_ADDRESS_SANITIZER const GCInfo& gc_info = GlobalGCInfoTable::GCInfoFromIndex(GetGCInfoIndex()); if (gc_info.finalize) { - gc_info.finalize(Payload()); + gc_info.finalize(ObjectStart()); } } HeapObjectName HeapObjectHeader::GetName() const { const GCInfo& gc_info = GlobalGCInfoTable::GCInfoFromIndex(GetGCInfoIndex()); - return gc_info.name(Payload()); + return gc_info.name(ObjectStart()); } } // namespace internal |