Index: runtime/vm/stub_code_x64.cc |
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc |
index 0c01d6882497e926e3602eee32ba206aad002fb5..032fbfbb3d131553e1323c7f2ff97fb29fe99993 100644 |
--- a/runtime/vm/stub_code_x64.cc |
+++ b/runtime/vm/stub_code_x64.cc |
@@ -1874,6 +1874,9 @@ void StubCode::GenerateJumpToExceptionHandlerStub(Assembler* assembler) { |
// Clear top exit frame. |
__ movq(Address(THR, Thread::top_exit_frame_info_offset()), |
Immediate(0)); |
+ // Restore the pool pointer. |
+ __ RestoreCodePointer(); |
+ __ LoadPoolPointer(PP); |
__ jmp(CallingConventions::kArg1Reg); // Jump to the exception handler code. |
} |