5 #ifndef V8_OBJECTS_JS_PROXY_INL_H_ 6 #define V8_OBJECTS_JS_PROXY_INL_H_ 8 #include "src/objects/js-proxy.h" 10 #include "src/objects-inl.h" 13 #include "src/objects/object-macros.h" 18 CAST_ACCESSOR(JSProxy)
20 ACCESSORS(JSProxy, target, Object, kTargetOffset)
21 ACCESSORS(JSProxy, handler, Object, kHandlerOffset)
23 bool JSProxy::IsRevoked()
const {
return !handler()->IsJSReceiver(); }
28 #include "src/objects/object-macros-undef.h" 30 #endif // V8_OBJECTS_JS_PROXY_INL_H_