| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 04ad458e4a759585387dae1136c6358143f53e9e..bd06c84fbadccc756f29b3b15f0def332932e468 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -174,7 +174,7 @@ GenericGraphVisit::Control Verifier::Visitor::Pre(Node* node) {
|
| CHECK_EQ(IrOpcode::kStart,
|
| NodeProperties::GetValueInput(node, 0)->opcode());
|
| // Parameter has an input that produces enough values.
|
| - int index = static_cast<Operator1<int>*>(node->op())->parameter();
|
| + int index = OpParameter<int>(node);
|
| Node* input = NodeProperties::GetValueInput(node, 0);
|
| // Currently, parameter indices start at -1 instead of 0.
|
| CHECK_GT(OperatorProperties::GetValueOutputCount(input->op()), index + 1);
|
| @@ -213,7 +213,7 @@ GenericGraphVisit::Control Verifier::Visitor::Pre(Node* node) {
|
| break;
|
| case IrOpcode::kProjection: {
|
| // Projection has an input that produces enough values.
|
| - int index = static_cast<Operator1<int>*>(node->op())->parameter();
|
| + int index = OpParameter<int>(node);
|
| Node* input = NodeProperties::GetValueInput(node, 0);
|
| CHECK_GT(OperatorProperties::GetValueOutputCount(input->op()), index);
|
| break;
|
|
|