Index: runtime/vm/stub_code_dbc.cc |
diff --git a/runtime/vm/stub_code_dbc.cc b/runtime/vm/stub_code_dbc.cc |
index 545a70ef7a62d2355958e0b604eea7a27e1e2acc..bf3783b1fd88c8a0035f08bca13fd7d98b952f29 100644 |
--- a/runtime/vm/stub_code_dbc.cc |
+++ b/runtime/vm/stub_code_dbc.cc |
@@ -47,9 +47,8 @@ void StubCode::GenerateRunExceptionHandlerStub(Assembler* assembler) { |
} |
-// Not executed, but used as a sentinel in Simulator::JumpToFrame. |
void StubCode::GenerateDeoptForRewindStub(Assembler* assembler) { |
- __ Trap(); |
+ __ DeoptRewind(); |
} |