Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index f49f8bf9420854227bcfcf9b02db1fea8c0a5021..432b21cef93290389332bc4360e8115248498a1b 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -420,10 +420,9 @@ void InstructionSelector::VisitInt64Mul(Node* node) { |
void InstructionSelector::VisitInt32MulHigh(Node* node) { |
X64OperandGenerator g(this); |
- InstructionOperand* temps[] = {g.TempRegister(rax)}; |
Emit(kX64ImulHigh32, g.DefineAsFixed(node, rdx), |
- g.UseFixed(node->InputAt(0), rax), g.UseUniqueRegister(node->InputAt(1)), |
- arraysize(temps), temps); |
+ g.UseFixed(node->InputAt(0), rax), |
+ g.UseUniqueRegister(node->InputAt(1))); |
} |
@@ -460,10 +459,9 @@ void InstructionSelector::VisitUint64Div(Node* node) { |
static void VisitMod(InstructionSelector* selector, Node* node, |
ArchOpcode opcode) { |
X64OperandGenerator g(selector); |
- InstructionOperand* temps[] = {g.TempRegister(rax), g.TempRegister(rdx)}; |
- selector->Emit( |
- opcode, g.DefineAsFixed(node, rdx), g.UseFixed(node->InputAt(0), rax), |
- g.UseUniqueRegister(node->InputAt(1)), arraysize(temps), temps); |
+ selector->Emit(opcode, g.DefineAsFixed(node, rdx), |
+ g.UseFixed(node->InputAt(0), rax), |
+ g.UseUniqueRegister(node->InputAt(1))); |
} |