| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc
|
| index 8515856aa1ceb77b4a84e2fdb4155fd1becaabdf..1b50fdff168c728fa59e2359e5b84ab20ba05d9a 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm.cc
|
| @@ -353,8 +353,8 @@ bool FlowGraphCompiler::GenerateInstantiatedTypeNoArgumentsTest(
|
| __ tst(kInstanceReg, Operand(kSmiTagMask));
|
| // If instance is Smi, check directly.
|
| const Class& smi_class = Class::Handle(zone(), Smi::Class());
|
| - if (smi_class.IsSubtypeOf(TypeArguments::Handle(zone()), type_class,
|
| - TypeArguments::Handle(zone()), NULL, NULL,
|
| + if (smi_class.IsSubtypeOf(Object::null_type_arguments(), type_class,
|
| + Object::null_type_arguments(), NULL, NULL,
|
| Heap::kOld)) {
|
| __ b(is_instance_lbl, EQ);
|
| } else {
|
|
|