Index: src/compiler/ia32/instruction-selector-ia32.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc |
index dee53c9559fc97c0188f20f41e087963a00e3640..62d29f5110bcd5c7918d719312f3b5d074620121 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -260,7 +260,7 @@ static void VisitBinop(InstructionSelector* selector, Node* node, |
// TODO(turbofan): match complex addressing modes. |
if (g.CanBeImmediate(right)) { |
- inputs[input_count++] = g.Use(left); |
+ inputs[input_count++] = g.UseRegister(left); |
inputs[input_count++] = g.UseImmediate(right); |
} else { |
if (node->op()->HasProperty(Operator::kCommutative) && |
@@ -315,7 +315,7 @@ void InstructionSelector::VisitWord32Xor(Node* node) { |
IA32OperandGenerator g(this); |
Int32BinopMatcher m(node); |
if (m.right().Is(-1)) { |
- Emit(kIA32Not, g.DefineSameAsFirst(node), g.Use(m.left().node())); |
+ Emit(kIA32Not, g.DefineSameAsFirst(node), g.UseRegister(m.left().node())); |
} else { |
VisitBinop(this, node, kIA32Xor); |
} |
@@ -330,7 +330,7 @@ static inline void VisitShift(InstructionSelector* selector, Node* node, |
Node* right = node->InputAt(1); |
if (g.CanBeImmediate(right)) { |
- selector->Emit(opcode, g.DefineSameAsFirst(node), g.Use(left), |
+ selector->Emit(opcode, g.DefineSameAsFirst(node), g.UseRegister(left), |
g.UseImmediate(right)); |
} else { |
Int32BinopMatcher m(node); |
@@ -340,7 +340,7 @@ static inline void VisitShift(InstructionSelector* selector, Node* node, |
right = mright.left().node(); |
} |
} |
- selector->Emit(opcode, g.DefineSameAsFirst(node), g.Use(left), |
+ selector->Emit(opcode, g.DefineSameAsFirst(node), g.UseRegister(left), |
g.UseFixed(right, ecx)); |
} |
} |