Index: runtime/vm/stub_code_ia32.cc |
=================================================================== |
--- runtime/vm/stub_code_ia32.cc (revision 41609) |
+++ runtime/vm/stub_code_ia32.cc (working copy) |
@@ -1540,7 +1540,7 @@ |
__ addl(EAX, Immediate(Smi::RawValue(1))); |
__ movl(EDI, Immediate(Smi::RawValue(Smi::kMaxValue))); |
__ cmovno(EDI, EAX); |
- __ movl(Address(EBX, count_offset), EDI); |
+ __ StoreIntoSmiField(Address(EBX, count_offset), EDI); |
// Load arguments descriptor into EDX. |
__ movl(EDX, FieldAddress(ECX, ICData::arguments_descriptor_offset())); |