Index: runtime/vm/intrinsifier_mips.cc |
diff --git a/runtime/vm/intrinsifier_mips.cc b/runtime/vm/intrinsifier_mips.cc |
index 305e1256c15899f02171b573245833e27b017540..e20cbd0e6320b4bf04b0fd3f3b17426544f8f2ae 100644 |
--- a/runtime/vm/intrinsifier_mips.cc |
+++ b/runtime/vm/intrinsifier_mips.cc |
@@ -17,6 +17,8 @@ |
namespace dart { |
+DECLARE_FLAG(bool, interpret_irregexp); |
+ |
// When entering intrinsics code: |
// S5: IC Data |
// S4: Arguments descriptor |
@@ -2097,6 +2099,8 @@ void Intrinsifier::TwoByteString_equality(Assembler* assembler) { |
void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) { |
+ if (FLAG_interpret_irregexp) return; |
+ |
static const intptr_t kRegExpParamOffset = 2 * kWordSize; |
static const intptr_t kStringParamOffset = 1 * kWordSize; |
// start_index smi is located at 0. |