Index: runtime/vm/regexp.cc |
diff --git a/runtime/vm/regexp.cc b/runtime/vm/regexp.cc |
index 5ec2a410318405dce51241192a757102b90d5782..93e4997fc548edce12b6b28d04f6966f5a215281 100644 |
--- a/runtime/vm/regexp.cc |
+++ b/runtime/vm/regexp.cc |
@@ -409,6 +409,7 @@ RegExpEngine::CompilationResult RegExpCompiler::Assemble( |
if (reg_exp_too_big_) return IrregexpRegExpTooBig(); |
macro_assembler->GenerateBacktrackBlock(); |
+ macro_assembler->FinalizeRegistersArray(); |
return RegExpEngine::CompilationResult(macro_assembler->backtrack_goto(), |
macro_assembler->graph_entry(), |