Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 3745) |
+++ src/ia32/full-codegen-ia32.cc (working copy) |
@@ -695,7 +695,8 @@ |
__ mov(CodeGenerator::ContextOperand(esi, slot->index()), |
result_register()); |
int offset = Context::SlotOffset(slot->index()); |
- __ RecordWrite(esi, offset, result_register(), ecx); |
+ __ mov(ebx, esi); |
+ __ RecordWrite(ebx, offset, result_register(), ecx); |
} |
break; |