Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 70ab5001086dad3d4ca44dd3ac3d8c7756143440..22da0b51c380be73c4bb43f1f23c8e656d6db21b 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -278,7 +278,7 @@ void InstructionSelector::InitializeCallBuffer(Node* call, CallBuffer* buffer, |
DCHECK_EQ(call->op()->OutputCount(), |
static_cast<int>(buffer->descriptor->ReturnCount())); |
DCHECK_EQ( |
- OperatorProperties::GetValueInputCount(call->op()), |
+ call->op()->ValueInputCount(), |
static_cast<int>(buffer->input_count() + buffer->frame_state_count())); |
if (buffer->descriptor->ReturnCount() > 0) { |