Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index 4bb75006640969a48f5fab52f9856e5290848b6e..84048b3e2a794c884b01c1f8c64589c1e0a654af 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -33,8 +33,6 @@ class IA32OperandConverter : public InstructionOperandConverter { |
Operand OutputOperand() { return ToOperand(instr_->Output()); } |
- Operand TempOperand(int index) { return ToOperand(instr_->TempAt(index)); } |
- |
Operand ToOperand(InstructionOperand* op, int extra = 0) { |
if (op->IsRegister()) { |
DCHECK(extra == 0); |
@@ -280,30 +278,30 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
break; |
case kIA32Shl: |
if (HasImmediateInput(instr, 1)) { |
- __ shl(i.OutputRegister(), i.InputInt5(1)); |
+ __ shl(i.OutputOperand(), i.InputInt5(1)); |
} else { |
- __ shl_cl(i.OutputRegister()); |
+ __ shl_cl(i.OutputOperand()); |
} |
break; |
case kIA32Shr: |
if (HasImmediateInput(instr, 1)) { |
- __ shr(i.OutputRegister(), i.InputInt5(1)); |
+ __ shr(i.OutputOperand(), i.InputInt5(1)); |
} else { |
- __ shr_cl(i.OutputRegister()); |
+ __ shr_cl(i.OutputOperand()); |
} |
break; |
case kIA32Sar: |
if (HasImmediateInput(instr, 1)) { |
- __ sar(i.OutputRegister(), i.InputInt5(1)); |
+ __ sar(i.OutputOperand(), i.InputInt5(1)); |
} else { |
- __ sar_cl(i.OutputRegister()); |
+ __ sar_cl(i.OutputOperand()); |
} |
break; |
case kIA32Ror: |
if (HasImmediateInput(instr, 1)) { |
- __ ror(i.OutputRegister(), i.InputInt5(1)); |
+ __ ror(i.OutputOperand(), i.InputInt5(1)); |
} else { |
- __ ror_cl(i.OutputRegister()); |
+ __ ror_cl(i.OutputOperand()); |
} |
break; |
case kSSEFloat64Cmp: |