diff options
Diffstat (limited to 'deps/v8/src/objects/maybe-object.h')
-rw-r--r-- | deps/v8/src/objects/maybe-object.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/src/objects/maybe-object.h b/deps/v8/src/objects/maybe-object.h index 304cf90d28a..0bb312692a4 100644 --- a/deps/v8/src/objects/maybe-object.h +++ b/deps/v8/src/objects/maybe-object.h @@ -47,7 +47,10 @@ class HeapObjectReference : public MaybeObject { V8_INLINE static HeapObjectReference Weak(Object object); - V8_INLINE static HeapObjectReference ClearedValue(Isolate* isolate); + V8_INLINE static HeapObjectReference ClearedValue(const Isolate* isolate); + + V8_INLINE static HeapObjectReference ClearedValue( + const OffThreadIsolate* isolate); template <typename THeapObjectSlot> V8_INLINE static void Update(THeapObjectSlot slot, HeapObject value); |