| Index: runtime/vm/flow_graph_compiler_x64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
|
| index fb81ae6a41ba53703f850e64fdc9e73620ca43c4..14488c2af07bfd014bbdd616fb929512f3aa6ee7 100644
|
| --- a/runtime/vm/flow_graph_compiler_x64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_x64.cc
|
| @@ -350,8 +350,8 @@ bool FlowGraphCompiler::GenerateInstantiatedTypeNoArgumentsTest(
|
| __ testq(kInstanceReg, Immediate(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)) {
|
| __ j(ZERO, is_instance_lbl);
|
| } else {
|
|
|