| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index b424c603422311172ce1c724bd6a47633c4a08db..7fcd41d45d1f80ead9bb7d5d31ecb93924c66151 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -1626,7 +1626,7 @@ void EffectGraphVisitor::BuildTypeTest(ComparisonNode* node) {
|
| // All objects are instances of type T if Object type is a subtype of type T.
|
| const Type& object_type = Type::Handle(Z, Type::ObjectType());
|
| if (type.IsInstantiated() &&
|
| - object_type.IsSubtypeOf(type, NULL, Heap::kOld)) {
|
| + object_type.IsSubtypeOf(type, NULL, NULL, Heap::kOld)) {
|
| // Must evaluate left side.
|
| EffectGraphVisitor for_left_value(owner());
|
| node->left()->Visit(&for_left_value);
|
|
|