| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 0c1f919db5ea03120f40019a8d7bee611f7496ee..0c214fc4d5566572608b441c060fa47a9605ecbf 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -610,10 +610,10 @@ void Verifier::Visitor::Check(Node* node) {
|
| case IrOpcode::kJSCreateScriptContext: {
|
| // Type is Context, and operand is Internal.
|
| Node* context = NodeProperties::GetContextInput(node);
|
| - // TODO(rossberg): This should really be Is(Internal), but the typer
|
| - // currently can't do backwards propagation.
|
| - CheckTypeMaybe(context, Type::Internal());
|
| - if (typing == TYPED) CHECK(NodeProperties::GetType(node)->IsContext());
|
| + // TODO(bmeurer): This should say CheckTypeIs, but we don't have type
|
| + // OtherInternal on certain contexts, i.e. those from OsrValue inputs.
|
| + CheckTypeMaybe(context, Type::OtherInternal());
|
| + CheckTypeIs(node, Type::OtherInternal());
|
| break;
|
| }
|
|
|
|
|