Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index b5e544fb3b3fe5a4b9814aa21cd47167d44ec9b3..e164d120a64fb2b051c43cd34d350d8d006cc2f4 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -885,7 +885,7 @@ void TestScanRegExp(const char* re_source, const char* expected) { |
i::Token::Value start = scanner.peek(); |
CHECK(start == i::Token::DIV || start == i::Token::ASSIGN_DIV); |
- CHECK(scanner.ScanRegExpPattern(start == i::Token::ASSIGN_DIV)); |
+ CHECK(scanner.ScanRegExpPattern()); |
scanner.Next(); // Current token is now the regexp literal. |
i::Zone zone(CcTest::i_isolate()->allocator()); |
i::AstValueFactory ast_value_factory(&zone, |