Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index aeddcd34a95268c764a784535ee24d57ab271f94..f767ce992da9a3caed6bd7ec62b9644b31d427e5 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1869,7 +1869,7 @@ LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) { |
LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* global_object = UseFixed(instr->global_object(), eax); |
+ LOperand* global_object = UseFixed(instr->global_object(), edx); |
LLoadGlobalGeneric* result = |
new(zone()) LLoadGlobalGeneric(context, global_object); |
return MarkAsCall(DefineFixed(result, eax), instr); |
@@ -1929,7 +1929,7 @@ LInstruction* LChunkBuilder::DoLoadNamedFieldPolymorphic( |
ASSERT(instr->representation().IsTagged()); |
if (instr->need_generic()) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* obj = UseFixed(instr->object(), eax); |
+ LOperand* obj = UseFixed(instr->object(), edx); |
LLoadNamedFieldPolymorphic* result = |
new(zone()) LLoadNamedFieldPolymorphic(context, obj); |
return MarkAsCall(DefineFixed(result, eax), instr); |
@@ -1945,7 +1945,7 @@ LInstruction* LChunkBuilder::DoLoadNamedFieldPolymorphic( |
LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* object = UseFixed(instr->object(), eax); |
+ LOperand* object = UseFixed(instr->object(), edx); |
LLoadNamedGeneric* result = new(zone()) LLoadNamedGeneric(context, object); |
return MarkAsCall(DefineFixed(result, eax), instr); |
} |
@@ -2024,7 +2024,7 @@ LInstruction* LChunkBuilder::DoLoadKeyedSpecializedArrayElement( |
LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
LOperand* object = UseFixed(instr->object(), edx); |
- LOperand* key = UseFixed(instr->key(), eax); |
+ LOperand* key = UseFixed(instr->key(), ecx); |
LLoadKeyedGeneric* result = |
new(zone()) LLoadKeyedGeneric(context, object, key); |