Index: runtime/vm/regexp_test.cc |
diff --git a/runtime/vm/regexp_test.cc b/runtime/vm/regexp_test.cc |
index d75dac49bda689902eb425fd2c8bc65b497e26e4..e7c5ba89054236554d8bd32401d7cb11752435b5 100644 |
--- a/runtime/vm/regexp_test.cc |
+++ b/runtime/vm/regexp_test.cc |
@@ -14,8 +14,8 @@ namespace dart { |
static RawArray* Match(const String& pat, const String& str) { |
Zone* zone = Thread::Current()->zone(); |
- const JSRegExp& regexp = JSRegExp::Handle( |
- RegExpEngine::CreateJSRegExp(zone, pat, false, false)); |
+ const RegExp& regexp = RegExp::Handle( |
+ RegExpEngine::CreateRegExp(zone, pat, false, false)); |
const Smi& idx = Smi::Handle(Smi::New(0)); |
return IRRegExpMacroAssembler::Execute(regexp, str, idx, zone); |
} |