| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 3c79c67fffb5908f44a4186d4a95df6944938ef6..9fdb37c3051c5e0beb31e5bdd2a4d322fb434e35 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -602,8 +602,8 @@ void Verifier::Visitor::Check(Node* node) {
|
| CheckTypeIs(node, Type::OtherObject());
|
| break;
|
| case IrOpcode::kJSCreateArray:
|
| - // Type is OtherObject.
|
| - CheckTypeIs(node, Type::OtherObject());
|
| + // Type is Array.
|
| + CheckTypeIs(node, Type::Array());
|
| break;
|
| case IrOpcode::kJSCreateClosure:
|
| // Type is Function.
|
| @@ -618,6 +618,9 @@ void Verifier::Visitor::Check(Node* node) {
|
| CheckTypeIs(node, Type::OtherObject());
|
| break;
|
| case IrOpcode::kJSCreateLiteralArray:
|
| + // Type is Array.
|
| + CheckTypeIs(node, Type::Array());
|
| + break;
|
| case IrOpcode::kJSCreateLiteralObject:
|
| case IrOpcode::kJSCreateLiteralRegExp:
|
| // Type is OtherObject.
|
|
|