Index: runtime/vm/flow_graph_compiler_arm64.cc |
diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc |
index 244c4d4d182f1d671244bde676bb0ed7e710987d..418ef2603cf7da76e22794aca7b9d8551b7dd1f5 100644 |
--- a/runtime/vm/flow_graph_compiler_arm64.cc |
+++ b/runtime/vm/flow_graph_compiler_arm64.cc |
@@ -1510,7 +1510,8 @@ void FlowGraphCompiler::EmitTestAndCall(const ICData& ic_data, |
*StubCode::CallStaticFunction_entry(), |
RawPcDescriptors::kOther, |
locs); |
- const Function& function = Function::Handle(zone(), ic_data.GetTargetAt(0)); |
+ const Function& function = Function::ZoneHandle( |
+ zone(), ic_data.GetTargetAt(0)); |
AddStaticCallTarget(function); |
__ Drop(argument_count); |
if (kNumChecks > 1) { |