Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index b1d53ae23d193f56a80c3dafdbbae67806c6f618..15efd086effe81f646e0c3e07f2ca3a9bb32ea3f 100755 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -862,7 +862,7 @@ TEST(ScopePositions) { |
i::Handle<i::String> source( |
FACTORY->NewStringFromAscii(i::CStrVector(program.start()))); |
i::Handle<i::Script> script = FACTORY->NewScript(source); |
- i::Parser parser(script, false, NULL, NULL); |
+ i::Parser parser(script, i::kAllowLazy | i::EXTENDED_MODE, NULL, NULL); |
i::CompilationInfo info(script); |
info.MarkAsGlobal(); |
info.SetLanguageMode(source_data[i].language_mode); |