Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index 3c5ddfbeb4ffd0ed4dbb3fb53ef9fd5317d5f2ce..8cd13bc4166e9f60e789faf44fb07c70fdcc48ed 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -125,7 +125,8 @@ Handle<Object> RegExpImpl::Compile(Handle<JSRegExp> re, |
PostponeInterruptsScope postpone; |
RegExpCompileData parse_result; |
FlatStringReader reader(pattern); |
- if (!Parser::ParseRegExp(&reader, flags.is_multiline(), &parse_result)) { |
+ if (!RegExpParser::ParseRegExp(&reader, flags.is_multiline(), |
+ &parse_result)) { |
// Throw an exception if we fail to parse the pattern. |
ThrowRegExpException(re, |
pattern, |
@@ -267,7 +268,8 @@ bool RegExpImpl::CompileIrregexp(Handle<JSRegExp> re, bool is_ascii) { |
RegExpCompileData compile_data; |
FlatStringReader reader(pattern); |
- if (!Parser::ParseRegExp(&reader, flags.is_multiline(), &compile_data)) { |
+ if (!RegExpParser::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, |