Index: src/x87/lithium-x87.cc |
diff --git a/src/x87/lithium-x87.cc b/src/x87/lithium-x87.cc |
index f580db26db1568033daf7bb2b67d5434ecccb6b8..6b4f5700d95960289ea34391fe6b5dfa3a9f07de 100644 |
--- a/src/x87/lithium-x87.cc |
+++ b/src/x87/lithium-x87.cc |
@@ -2071,7 +2071,8 @@ LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) { |
LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* global_object = UseFixed(instr->global_object(), edx); |
+ LOperand* global_object = UseFixed(instr->global_object(), |
+ LoadIC::ReceiverRegister()); |
LLoadGlobalGeneric* result = |
new(zone()) LLoadGlobalGeneric(context, global_object); |
return MarkAsCall(DefineFixed(result, eax), instr); |
@@ -2126,7 +2127,7 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { |
LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* object = UseFixed(instr->object(), edx); |
+ LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
LLoadNamedGeneric* result = new(zone()) LLoadNamedGeneric(context, object); |
return MarkAsCall(DefineFixed(result, eax), instr); |
} |
@@ -2184,8 +2185,8 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* object = UseFixed(instr->object(), edx); |
- LOperand* key = UseFixed(instr->key(), ecx); |
+ LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister()); |
+ LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister()); |
LLoadKeyedGeneric* result = |
new(zone()) LLoadKeyedGeneric(context, object, key); |