Index: runtime/vm/regexp_assembler_bytecode.cc |
diff --git a/runtime/vm/regexp_assembler_bytecode.cc b/runtime/vm/regexp_assembler_bytecode.cc |
index 193616c6f0ddaa7874640e9b216748bb1d099009..9586aea84b2a07e0f0f2a84b1e3c81c6f65794f3 100644 |
--- a/runtime/vm/regexp_assembler_bytecode.cc |
+++ b/runtime/vm/regexp_assembler_bytecode.cc |
@@ -452,7 +452,7 @@ void BytecodeRegExpMacroAssembler::Expand() { |
} |
-static intptr_t Prepare(const JSRegExp& regexp, |
+static intptr_t Prepare(const RegExp& regexp, |
const String& subject, |
Zone* zone) { |
bool is_one_byte = subject.IsOneByteString() || |
@@ -464,7 +464,7 @@ static intptr_t Prepare(const JSRegExp& regexp, |
const bool multiline = regexp.is_multi_line(); |
RegExpCompileData* compile_data = new(zone) RegExpCompileData(); |
if (!RegExpParser::ParseRegExp(pattern, multiline, compile_data)) { |
- // Parsing failures are handled in the JSRegExp factory constructor. |
+ // Parsing failures are handled in the RegExp factory constructor. |
UNREACHABLE(); |
} |
@@ -491,7 +491,7 @@ static intptr_t Prepare(const JSRegExp& regexp, |
} |
-static IrregexpInterpreter::IrregexpResult ExecRaw(const JSRegExp& regexp, |
+static IrregexpInterpreter::IrregexpResult ExecRaw(const RegExp& regexp, |
const String& subject, |
intptr_t index, |
int32_t* output, |
@@ -537,7 +537,7 @@ static IrregexpInterpreter::IrregexpResult ExecRaw(const JSRegExp& regexp, |
} |
-RawInstance* BytecodeRegExpMacroAssembler::Interpret(const JSRegExp& regexp, |
+RawInstance* BytecodeRegExpMacroAssembler::Interpret(const RegExp& regexp, |
const String& subject, |
const Smi& start_index, |
Zone* zone) { |