| Index: runtime/vm/stub_code_x64.cc
|
| ===================================================================
|
| --- runtime/vm/stub_code_x64.cc (revision 21683)
|
| +++ runtime/vm/stub_code_x64.cc (working copy)
|
| @@ -1847,7 +1847,7 @@
|
| }
|
|
|
|
|
| -// Jump to the exception handler.
|
| +// Jump to the exception or error handler.
|
| // TOS + 0: return address
|
| // RDI: program counter
|
| // RSI: stack pointer
|
| @@ -1866,22 +1866,6 @@
|
| }
|
|
|
|
|
| -// Jump to the error handler.
|
| -// TOS + 0: return address
|
| -// RDI: program_counter
|
| -// RSI: stack_pointer
|
| -// RDX: frame_pointer
|
| -// RCX: error object
|
| -// No Result.
|
| -void StubCode::GenerateJumpToErrorHandlerStub(Assembler* assembler) {
|
| - ASSERT(kExceptionObjectReg == RAX);
|
| - __ movq(RAX, RCX); // error object.
|
| - __ movq(RBP, RDX); // target frame_pointer.
|
| - __ movq(RSP, RSI); // target stack_pointer.
|
| - __ jmp(RDI); // Jump to the exception handler code.
|
| -}
|
| -
|
| -
|
| // Implements equality operator when one of the arguments is null
|
| // (identity check) and updates ICData if necessary.
|
| // TOS + 0: return address
|
|
|