Index: runtime/vm/stub_code_ia32.cc |
=================================================================== |
--- runtime/vm/stub_code_ia32.cc (revision 21676) |
+++ runtime/vm/stub_code_ia32.cc (working copy) |
@@ -1907,6 +1907,7 @@ |
// TOS + 4: error object |
// No Result. |
void StubCode::GenerateJumpToErrorHandlerStub(Assembler* assembler) { |
+ ASSERT(kExceptionObjectReg == EAX); |
__ movl(EAX, Address(ESP, 4 * kWordSize)); // Load error object. |
__ movl(EBP, Address(ESP, 3 * kWordSize)); // Load target frame_pointer. |
__ movl(EBX, Address(ESP, 1 * kWordSize)); // Load target PC into EBX. |