| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index d5118fb0e18ddf06290b1b9aaa12de1dd78ea967..a18528c5a98c423c25bcc6fd3c95d885711adffd 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -2090,7 +2090,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);
|
| @@ -2145,7 +2146,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);
|
| }
|
| @@ -2203,8 +2204,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);
|
|
|