11cb0ef41Sopenharmony_ci// Copyright 2019 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ci#include 'src/builtins/builtins-proxy-gen.h' 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_cinamespace proxy { 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ciextern macro ProxiesCodeStubAssembler::AllocateProxy(implicit context: Context)( 101cb0ef41Sopenharmony_ci JSReceiver, JSReceiver): JSProxy; 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ciextern transitioning macro ProxiesCodeStubAssembler::CheckGetSetTrapResult( 131cb0ef41Sopenharmony_ci implicit context: Context)( 141cb0ef41Sopenharmony_ci JSReceiver, JSProxy, Name, Object, constexpr int31): void; 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ciextern transitioning macro ProxiesCodeStubAssembler::CheckDeleteTrapResult( 171cb0ef41Sopenharmony_ci implicit context: Context)(JSReceiver, JSProxy, Name): void; 181cb0ef41Sopenharmony_ci 191cb0ef41Sopenharmony_ciextern transitioning macro ProxiesCodeStubAssembler::CheckHasTrapResult( 201cb0ef41Sopenharmony_ci implicit context: Context)(JSReceiver, JSProxy, Name): void; 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_ciconst kProxyGet: constexpr int31 231cb0ef41Sopenharmony_ci generates 'JSProxy::AccessKind::kGet'; 241cb0ef41Sopenharmony_ciconst kProxySet: constexpr int31 251cb0ef41Sopenharmony_ci generates 'JSProxy::AccessKind::kSet'; 261cb0ef41Sopenharmony_ci 271cb0ef41Sopenharmony_citype ProxyRevokeFunctionContext extends FunctionContext; 281cb0ef41Sopenharmony_ciextern enum ProxyRevokeFunctionContextSlot extends intptr 291cb0ef41Sopenharmony_ciconstexpr 'ProxiesCodeStubAssembler::ProxyRevokeFunctionContextSlot' { 301cb0ef41Sopenharmony_ci kProxySlot: Slot<ProxyRevokeFunctionContext, JSProxy|Null>, 311cb0ef41Sopenharmony_ci kProxyContextLength 321cb0ef41Sopenharmony_ci} 331cb0ef41Sopenharmony_ci} 34