Chromium Code Reviews| Index: runtime/vm/stub_code_x64.cc |
| =================================================================== |
| --- runtime/vm/stub_code_x64.cc (revision 21676) |
| +++ runtime/vm/stub_code_x64.cc (working copy) |
| @@ -1874,6 +1874,7 @@ |
| // 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. |