| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index 9cb5d69e6c5c1849465a769c2205451cdc7f2421..fdb1a1eb4bd4156b2b8b5f9546ab7727b05a973c 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -1127,7 +1127,8 @@ TEST(ScopePositions) {
|
| CHECK_EQ(source->length(), kProgramSize);
|
| i::Handle<i::Script> script = factory->NewScript(source);
|
| i::CompilationInfoWithZone info(script);
|
| - i::Parser parser(&info);
|
| + i::Parser parser(&info, isolate->stack_guard()->real_climit(),
|
| + isolate->heap()->HashSeed());
|
| parser.set_allow_lazy(true);
|
| parser.set_allow_harmony_scoping(true);
|
| parser.set_allow_arrow_functions(true);
|
| @@ -1260,7 +1261,8 @@ void TestParserSyncWithFlags(i::Handle<i::String> source,
|
| {
|
| i::Handle<i::Script> script = factory->NewScript(source);
|
| i::CompilationInfoWithZone info(script);
|
| - i::Parser parser(&info);
|
| + i::Parser parser(&info, isolate->stack_guard()->real_climit(),
|
| + isolate->heap()->HashSeed());
|
| SetParserFlags(&parser, flags);
|
| info.MarkAsGlobal();
|
| parser.Parse();
|
| @@ -3132,7 +3134,8 @@ TEST(InnerAssignment) {
|
|
|
| i::Handle<i::Script> script = factory->NewScript(source);
|
| i::CompilationInfoWithZone info(script);
|
| - i::Parser parser(&info);
|
| + i::Parser parser(&info, isolate->stack_guard()->real_climit(),
|
| + isolate->heap()->HashSeed());
|
| parser.set_allow_harmony_scoping(true);
|
| CHECK(parser.Parse());
|
| CHECK(i::Rewriter::Rewrite(&info));
|
|
|