| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 1e7d8747a700ee209d150e5bb7443181e0b49abc..ff79140233a5f81bb9d31db7764f0eb216ca25ac 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -516,7 +516,7 @@ void Verifier::Visitor::Check(Node* node) {
|
| break;
|
| case IrOpcode::kJSCreateClosure:
|
| // Type is Function.
|
| - CheckUpperIs(node, Type::OtherObject());
|
| + CheckUpperIs(node, Type::Function());
|
| break;
|
| case IrOpcode::kJSCreateLiteralArray:
|
| case IrOpcode::kJSCreateLiteralObject:
|
|
|