Index: src/proxy.js |
diff --git a/src/proxy.js b/src/proxy.js |
index 99f9dab9f3a45d2e379622dc32d697e9300bca9a..0776eeae8f979302b38630b96374863b98ed9335 100644 |
--- a/src/proxy.js |
+++ b/src/proxy.js |
@@ -49,8 +49,8 @@ function ProxyCreateFunction(handler, callTrap, constructTrap) { |
function SetUpProxy() { |
%CheckIsBootstrapping() |
- var global_receiver = %GlobalReceiver(global); |
- global_receiver.Proxy = $Proxy; |
+ var global_proxy = %GlobalProxy(global); |
+ global_proxy.Proxy = $Proxy; |
// Set up non-enumerable properties of the Proxy object. |
InstallFunctions($Proxy, DONT_ENUM, [ |