Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index 30d4dcbf23b43a8a3ab360f03a767556a59e0319..82a370f141fecf845cb4bd08ec3fdd390cc1f519 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -125,7 +125,7 @@ Handle<Object> RegExpImpl::Compile(Handle<JSRegExp> re, |
PostponeInterruptsScope postpone; |
RegExpCompileData parse_result; |
FlatStringReader reader(pattern); |
- if (!ParseRegExp(&reader, flags.is_multiline(), &parse_result)) { |
+ if (!Parser::ParseRegExp(&reader, flags.is_multiline(), &parse_result)) { |
// Throw an exception if we fail to parse the pattern. |
ThrowRegExpException(re, |
pattern, |
@@ -267,7 +267,7 @@ bool RegExpImpl::CompileIrregexp(Handle<JSRegExp> re, bool is_ascii) { |
RegExpCompileData compile_data; |
FlatStringReader reader(pattern); |
- if (!ParseRegExp(&reader, flags.is_multiline(), &compile_data)) { |
+ if (!Parser::ParseRegExp(&reader, flags.is_multiline(), &compile_data)) { |
// Throw an exception if we fail to parse the pattern. |
// THIS SHOULD NOT HAPPEN. We already pre-parsed it successfully once. |
ThrowRegExpException(re, |