Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8215a86f0276899c8b6bebd66b3abbf30f0a4d1b..5ed58606f16b44881a7cf26ec20fe000c9573b18 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6337,10 +6337,12 @@ int JSFunction::NumberOfLiterals() { |
} |
-ACCESSORS(JSProxy, target, Object, kTargetOffset) |
ACCESSORS(JSProxy, handler, Object, kHandlerOffset) |
+ACCESSORS(JSProxy, target, JSReceiver, kTargetOffset) |
ACCESSORS(JSProxy, hash, Object, kHashOffset) |
+bool JSProxy::IsRevoked() const { return !handler()->IsJSReceiver(); } |
+ |
ACCESSORS(JSFunctionProxy, call_trap, JSReceiver, kCallTrapOffset) |
ACCESSORS(JSFunctionProxy, construct_trap, Object, kConstructTrapOffset) |