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 b56230ff236ced19654e510b2f49febe9f437bd4..894794b47cf4efe5c7526ed118e561e39b1f1b9e 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -469,10 +469,9 @@ void InstructionSelector::VisitInt32Mul(Node* node) { |
void InstructionSelector::VisitInt32MulHigh(Node* node) { |
IA32OperandGenerator g(this); |
InstructionOperand* temps[] = {g.TempRegister(eax)}; |
- size_t temp_count = arraysize(temps); |
Emit(kIA32ImulHigh, g.DefineAsFixed(node, edx), |
- g.UseFixed(node->InputAt(0), eax), g.UseRegister(node->InputAt(1)), |
- temp_count, temps); |
+ g.UseFixed(node->InputAt(0), eax), g.UseUniqueRegister(node->InputAt(1)), |
+ arraysize(temps), temps); |
} |