summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/embedder-data-slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/embedder-data-slot.h')
-rw-r--r--deps/v8/src/objects/embedder-data-slot.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/src/objects/embedder-data-slot.h b/deps/v8/src/objects/embedder-data-slot.h
index 65fe78403a..6213b7b333 100644
--- a/deps/v8/src/objects/embedder-data-slot.h
+++ b/deps/v8/src/objects/embedder-data-slot.h
@@ -75,8 +75,7 @@ class EmbedderDataSlot
// When V8 heap sandbox is enabled, calling this method when the raw part of
// the slot does not contain valid external pointer table index is undefined
// behaviour and most likely result in crashes.
- V8_INLINE bool ToAlignedPointer(PtrComprCageBase isolate_root,
- void** out_result) const;
+ V8_INLINE bool ToAlignedPointer(Isolate* isolate, void** out_result) const;
// Same as ToAlignedPointer() but with a workaround for V8 heap sandbox.
// When V8 heap sandbox is enabled, this method doesn't crash when the raw
@@ -87,7 +86,7 @@ class EmbedderDataSlot
//
// Call this function if you are not sure whether the slot contains valid
// external pointer or not.
- V8_INLINE bool ToAlignedPointerSafe(PtrComprCageBase isolate_root,
+ V8_INLINE bool ToAlignedPointerSafe(Isolate* isolate,
void** out_result) const;
// Returns true if the pointer was successfully stored or false it the pointer