Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 885208bec66d0a42b5755ee8bd0e7166d887d890..0afc45813509a49f7106d445eb780a16de7f87aa 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -131,9 +131,9 @@ class IrregexpCompilationPipeline : public CompilationPipeline { |
intptr_t osr_id) { |
// Compile to the dart IR. |
RegExpEngine::CompilationResult result = |
- RegExpEngine::Compile(parsed_function->regexp_compile_data(), |
- parsed_function, |
- ic_data_array); |
+ RegExpEngine::CompileIR(parsed_function->regexp_compile_data(), |
+ parsed_function, |
+ ic_data_array); |
backtrack_goto_ = result.backtrack_goto; |
// Allocate variables now that we know the number of locals. |