summaryrefslogtreecommitdiff
path: root/deps/v8/src/proxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/proxy.js')
-rw-r--r--deps/v8/src/proxy.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/proxy.js b/deps/v8/src/proxy.js
index 4c03f21538..06be087c71 100644
--- a/deps/v8/src/proxy.js
+++ b/deps/v8/src/proxy.js
@@ -72,7 +72,8 @@ function ProxyCreateFunction(handler, callTrap, constructTrap) {
function SetUpProxy() {
%CheckIsBootstrapping()
- global.Proxy = $Proxy;
+ var global_receiver = %GlobalReceiver(global);
+ global_receiver.Proxy = $Proxy;
// Set up non-enumerable properties of the Proxy object.
InstallFunctions($Proxy, DONT_ENUM, [