Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index e601b2c092f70209bf7014ebc66df435bf4a2f9b..567b1c920f00ff86273dec94e4e4fb6ea5356330 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -295,7 +295,7 @@ void InstructionSelector::InitializeCallBuffer(Node* call, CallBuffer* buffer, |
bool call_code_immediate, |
bool call_address_immediate) { |
OperandGenerator g(this); |
- DCHECK_EQ(call->op()->OutputCount(), |
+ DCHECK_EQ(call->op()->ValueOutputCount(), |
static_cast<int>(buffer->descriptor->ReturnCount())); |
DCHECK_EQ( |
call->op()->ValueInputCount(), |
@@ -929,7 +929,7 @@ void InstructionSelector::VisitPhi(Node* node) { |
PhiInstruction* phi = new (instruction_zone()) |
PhiInstruction(instruction_zone(), GetVirtualRegister(node)); |
sequence()->InstructionBlockAt(current_block_->GetRpoNumber())->AddPhi(phi); |
- const int input_count = node->op()->InputCount(); |
+ const int input_count = node->op()->ValueInputCount(); |
phi->operands().reserve(static_cast<size_t>(input_count)); |
for (int i = 0; i < input_count; ++i) { |
Node* const input = node->InputAt(i); |