Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index d8d065cdb3f9e043a8b6ec6a0e09c80b02873692..281f8b918e51c750c5b180c07d440daa34975054 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1324,6 +1324,11 @@ void Genesis::InitializeExperimentalGlobal() { |
isolate()->initial_object_prototype(), |
Builtins::kIllegal, true, true); |
} |
+ { // -- W e a k S e t |
+ InstallFunction(global, "WeakSet", JS_WEAK_SET_TYPE, JSWeakSet::kSize, |
+ isolate()->initial_object_prototype(), |
+ Builtins::kIllegal, true, true); |
+ } |
} |
if (FLAG_harmony_array_buffer) { |