Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index c8956c9ebd9f0a727ac4262509ffa0e90d9a2b4b..0ee140586f62ed807238f7472ead23f25a086a84 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -329,8 +329,7 @@ TEST(RegressChromium62639) { |
i::Utf8ToUtf16CharacterStream stream( |
reinterpret_cast<const i::byte*>(program), |
static_cast<unsigned>(strlen(program))); |
- i::ScriptDataImpl* data = |
- i::ParserApi::PreParse(&stream, NULL, false); |
+ i::ScriptDataImpl* data = i::ParserApi::PreParse(&stream); |
CHECK(data->HasError()); |
delete data; |
} |
@@ -355,7 +354,7 @@ TEST(Regress928) { |
i::Handle<i::String> source( |
FACTORY->NewStringFromAscii(i::CStrVector(program))); |
i::GenericStringUtf16CharacterStream stream(source, 0, source->length()); |
- i::ScriptDataImpl* data = i::ParserApi::PreParse(&stream, NULL, false); |
+ i::ScriptDataImpl* data = i::ParserApi::PreParse(&stream); |
CHECK(!data->HasError()); |
data->Initialize(); |