Chromium Code Reviews| Index: src/compiler/verifier.cc |
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
| index dbe41a665ebd6136005698b92fd998afef8a3176..7a5dd21417a5174559bd7b03d22ed0f898722566 100644 |
| --- a/src/compiler/verifier.cc |
| +++ b/src/compiler/verifier.cc |
| @@ -635,6 +635,11 @@ void Verifier::Visitor::Check(Node* node) { |
| // Type is String. |
| CheckTypeIs(node, Type::String()); |
| break; |
| + case IrOpcode::kJSGetSuperConstructor: |
| + // Function -> Receiver. |
| + CheckValueInputIs(node, 0, Type::Function()); |
| + CheckTypeIs(node, Type::Receiver()); |
|
Benedikt Meurer
2016/12/12 18:18:19
Same: Use Type::Callable here.
|
| + break; |
| case IrOpcode::kJSLoadContext: |
| // Type can be anything. |