| Index: runtime/vm/constant_propagator.cc
|
| diff --git a/runtime/vm/constant_propagator.cc b/runtime/vm/constant_propagator.cc
|
| index a1279ec5d69447758975a1a1bcfce403918b5185..050c0ba2a99606affbf530fab27dbd375b478f8f 100644
|
| --- a/runtime/vm/constant_propagator.cc
|
| +++ b/runtime/vm/constant_propagator.cc
|
| @@ -764,8 +764,7 @@ void ConstantPropagator::VisitInstanceOf(InstanceOfInstr* instr) {
|
| const Instance& instance = Instance::Cast(value);
|
| const AbstractType& checked_type = instr->type();
|
| if (instr->instantiator_type_arguments()->BindsToConstantNull() &&
|
| - instr->function_type_arguments()->BindsToConstantNull() &&
|
| - checked_type.IsInstantiated(kParentFunctions)) {
|
| + instr->function_type_arguments()->BindsToConstantNull()) {
|
| Error& bound_error = Error::Handle();
|
| bool is_instance =
|
| instance.IsInstanceOf(checked_type, Object::null_type_arguments(),
|
|
|