[ptr-compr] Fix compilation error due to naming

Change-Id: I20ea43a62e051599ab7860acd34ba55f6d355ae7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3904426
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Auto-Submit: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/main@{#83306}
This commit is contained in:
Junliang Yan 2022-09-19 10:17:04 -04:00 committed by V8 LUCI CQ
parent 9e65a05049
commit 6dab3f2dfa

View File

@ -18,8 +18,8 @@ namespace internal {
// Aliases for GetPtrComprCageBase when
// V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE. Each Isolate has its own cage, whose
// base address is also the Isolate root.
V8_INLINE constexpr Address GetIsolateRootAddress(Address on_heap_addr) {
return GetPtrComprCageBaseAddress(on_heap_addr);
V8_INLINE Address GetIsolateRootAddress(Address on_heap_addr) {
return V8HeapCompressionScheme::GetPtrComprCageBaseAddress(on_heap_addr);
}
V8_INLINE Address GetIsolateRootAddress(PtrComprCageBase cage_base) {