| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index 8a76f52daf16b7fc08b6bb1fa310480971d63ea2..6ea2597fa4c244d36705dfbd0a96298dece1f25b 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -1128,7 +1128,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);
|
| @@ -1263,7 +1264,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();
|
| @@ -3125,7 +3127,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));
|
|
|