Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1788)

Unified Diff: test/cctest/test-parsing.cc

Issue 8662037: Don't preparse large files to find boundaries of lazy functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index 7901edc91a79b2c4883d66c344626d085c7d6ef9..e7bf174bc72ea54390763212c47b0b3b5e2fa844 100755
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -855,7 +855,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, NULL, NULL);
parser.SetHarmonyScoping(true);
i::CompilationInfo info(script);
info.MarkAsGlobal();
« src/parser.cc ('K') | « src/preparser.cc ('k') | test/mjsunit/regress/regress-1110.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698