| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 5ba8c87aa8c3ca993136ecc9013d1a593b730f01..1916b99d27cf48e413b45bf4ef508954c64191ce 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -247,6 +247,14 @@ void Verifier::Visitor::Pre(Node* node) {
|
| CHECK_EQ(1, control_count);
|
| CHECK_EQ(input_count, 1 + effect_count);
|
| break;
|
| + case IrOpcode::kOsrNormalEntry:
|
| + case IrOpcode::kOsrLoopEntry:
|
| + // Osr entries have
|
| + CHECK_EQ(1, effect_count);
|
| + CHECK_EQ(1, control_count);
|
| + // Type is empty.
|
| + CheckNotTyped(node);
|
| + break;
|
|
|
| // Common operators
|
| // ----------------
|
| @@ -297,6 +305,13 @@ void Verifier::Visitor::Pre(Node* node) {
|
| // Type is considered internal.
|
| CheckUpperIs(node, Type::Internal());
|
| break;
|
| + case IrOpcode::kOsrValue:
|
| + // OSR values have a value and a control input.
|
| + CHECK_EQ(1, control_count);
|
| + CHECK_EQ(1, input_count);
|
| + // Type is merged from other values in the graph and could be any.
|
| + CheckUpperIs(node, Type::Any());
|
| + break;
|
| case IrOpcode::kProjection: {
|
| // Projection has an input that produces enough values.
|
| int index = static_cast<int>(OpParameter<size_t>(node->op()));
|
|
|