Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 0b39faab3296f7f280baeff85be8d84f5f87a3ef..e7218e5b03c7e6c36473f0c9458d4a6f8eb6be38 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2059,6 +2059,11 @@ bool Genesis::InstallExperimentalNatives() { |
"native generator.js") == 0) { |
if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
} |
+ if (FLAG_harmony_iteration && |
+ strcmp(ExperimentalNatives::GetScriptName(i).start(), |
+ "native array-iterator.js") == 0) { |
+ if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
+ } |
} |
InstallExperimentalNativeFunctions(); |