5 #ifndef V8_BUILTINS_BUILTINS_PROXY_GEN_H_ 6 #define V8_BUILTINS_BUILTINS_PROXY_GEN_H_ 8 #include "src/code-stub-assembler.h" 9 #include "src/objects/js-proxy.h" 31 enum ProxyRevokeFunctionContextSlot {
32 kProxySlot = Context::MIN_CONTEXT_SLOTS,
36 void GotoIfRevokedProxy(
Node*
object,
Label* if_proxy_revoked);
38 Node* AllocateJSArrayForCodeStubArguments(
Node* context,
41 Node* AllocateProxyRevokeFunction(
Node* proxy,
Node* context);
42 void CheckHasTrapResult(
Node* context,
Node* target,
Node* proxy,
Node* name,
45 void CheckGetSetTrapResult(
Node* context,
Node* target,
Node* proxy,
47 JSProxy::AccessKind access_kind);
50 Node* CreateProxyRevokeFunctionContext(
Node* proxy,
Node* native_context);
56 #endif // V8_BUILTINS_BUILTINS_PROXY_GEN_H_