Index: src/weakmap.js |
diff --git a/src/weakmap.js b/src/weakmap.js |
index 6c15e30fb6f3b6dfb82d565e1293818f3221165a..3d261e5afda2e18502f3af41661b96cdd977258b 100644 |
--- a/src/weakmap.js |
+++ b/src/weakmap.js |
@@ -80,8 +80,7 @@ function WeakMapDelete(key) { |
// ------------------------------------------------------------------- |
-(function () { |
- %CheckIsBootstrapping(); |
+function SetupWeakMap() { |
// Set up the WeakMap constructor function. |
%SetCode($WeakMap, WeakMapConstructor); |
@@ -98,4 +97,7 @@ function WeakMapDelete(key) { |
"has", WeakMapHas, |
"delete", WeakMapDelete |
)); |
-})(); |
+} |
+ |
+ |
+SetupWeakMap(); |