Index: runtime/vm/stub_code_arm.cc |
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc |
index c94edc5249fa79ae805a431735a3ddf0870948e8..8425d6a5fde244790da93001e88097ea6f84f446 100644 |
--- a/runtime/vm/stub_code_arm.cc |
+++ b/runtime/vm/stub_code_arm.cc |
@@ -1841,6 +1841,9 @@ void StubCode::GenerateJumpToExceptionHandlerStub(Assembler* assembler) { |
// Clear top exit frame. |
__ LoadImmediate(R2, 0); |
__ StoreToOffset(kWord, R2, THR, Thread::top_exit_frame_info_offset()); |
+ // Restore the pool pointer. |
+ __ RestoreCodePointer(); |
+ __ LoadPoolPointer(); |
__ bx(LR); // Jump to the exception handler code. |
} |