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 306c4f24ea22f1b235903fd1d5b1a37620f080c8..bcfd2093613bb689905ff42889081de7db75e7be 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -257,7 +257,7 @@ void InstructionSelector::VisitLoad(Node* node) { |
InstructionCode code = opcode | AddressingModeField::encode(matcher.mode_); |
InstructionOperand* outputs[] = {g.DefineAsRegister(node)}; |
InstructionOperand* inputs[AddressingModeMatcher::kMaxInputCount]; |
- int input_count = matcher.SetInputs(inputs); |
+ size_t input_count = matcher.SetInputs(inputs); |
Emit(code, 1, outputs, input_count, inputs); |
} |
@@ -319,7 +319,7 @@ void InstructionSelector::VisitStore(Node* node) { |
AddressingModeMatcher matcher(&g, base, index); |
InstructionCode code = opcode | AddressingModeField::encode(matcher.mode_); |
InstructionOperand* inputs[AddressingModeMatcher::kMaxInputCount + 1]; |
- int input_count = matcher.SetInputs(inputs); |
+ size_t input_count = matcher.SetInputs(inputs); |
inputs[input_count++] = val; |
Emit(code, 0, static_cast<InstructionOperand**>(NULL), input_count, inputs); |
} |