Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index a528fe4e7311b5a552306c6f4db7fee17e1efa93..c408288363376ab956e27867cf0d8ddb2254d44c 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2287,9 +2287,10 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* object = UseFixed(instr->object(), edx); |
- LOperand* key = UseFixed(instr->key(), ecx); |
- LOperand* value = UseFixed(instr->value(), eax); |
+ LOperand* object = UseFixed(instr->object(), |
+ KeyedStoreIC::ReceiverRegister()); |
+ LOperand* key = UseFixed(instr->key(), KeyedStoreIC::NameRegister()); |
+ LOperand* value = UseFixed(instr->value(), KeyedStoreIC::ValueRegister()); |
ASSERT(instr->object()->representation().IsTagged()); |
ASSERT(instr->key()->representation().IsTagged()); |
@@ -2391,8 +2392,8 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* object = UseFixed(instr->object(), edx); |
- LOperand* value = UseFixed(instr->value(), eax); |
+ LOperand* object = UseFixed(instr->object(), StoreIC::ReceiverRegister()); |
+ LOperand* value = UseFixed(instr->value(), StoreIC::ValueRegister()); |
LStoreNamedGeneric* result = |
new(zone()) LStoreNamedGeneric(context, object, value); |