| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index db8fa2a637e861336a34dd6686cac853e9308b59..223fde2be58c7d58b92e428c82981ddd41668c5c 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1648,19 +1648,10 @@ LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
|
| - LOperand* date = UseRegister(instr->value());
|
| + LOperand* date = UseFixed(instr->value(), eax);
|
| LDateField* result =
|
| - new(zone()) LDateField(date, TempRegister(), instr->index());
|
| - return DefineSameAsFirst(result);
|
| -}
|
| -
|
| -
|
| -LInstruction* LChunkBuilder::DoSetDateField(HSetDateField* instr) {
|
| - LOperand* date = UseTempRegister(instr->OperandAt(1));
|
| - LOperand* value = UseTempRegister(instr->OperandAt(2));
|
| - LSetDateField* result =
|
| - new(zone()) LSetDateField(date, value, TempRegister(), instr->index());
|
| - return DefineAsRegister(result);
|
| + new(zone()) LDateField(date, FixedTemp(ecx), instr->index());
|
| + return MarkAsCall(DefineFixed(result, eax), instr);
|
| }
|
|
|
|
|
|
|