| Index: src/runtime/runtime-proxy.cc
|
| diff --git a/src/runtime/runtime-proxy.cc b/src/runtime/runtime-proxy.cc
|
| index 6980b88caef0309077e6c9eb6ae03ab4d42963db..3a521c6b7c49831e8cbcc6f0be1fd2c7b589f191 100644
|
| --- a/src/runtime/runtime-proxy.cc
|
| +++ b/src/runtime/runtime-proxy.cc
|
| @@ -149,7 +149,7 @@ RUNTIME_FUNCTION(Runtime_IsJSProxy) {
|
| }
|
|
|
|
|
| -RUNTIME_FUNCTION(Runtime_GetHandler) {
|
| +RUNTIME_FUNCTION(Runtime_JSProxyGetHandler) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 1);
|
| CONVERT_ARG_CHECKED(JSProxy, proxy, 0);
|
| @@ -157,7 +157,15 @@ RUNTIME_FUNCTION(Runtime_GetHandler) {
|
| }
|
|
|
|
|
| -RUNTIME_FUNCTION(Runtime_RevokeProxy) {
|
| +RUNTIME_FUNCTION(Runtime_JSProxyGetTarget) {
|
| + SealHandleScope shs(isolate);
|
| + DCHECK(args.length() == 1);
|
| + CONVERT_ARG_CHECKED(JSProxy, proxy, 0);
|
| + return proxy->target();
|
| +}
|
| +
|
| +
|
| +RUNTIME_FUNCTION(Runtime_JSProxyRevoke) {
|
| HandleScope scope(isolate);
|
| DCHECK(args.length() == 1);
|
| CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, 0);
|
|
|