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 64ac4d151c5a79fc3162221403468524dc7595da..bcfa8199b6456daf8c01a875767b8de08ef5b100 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -1513,7 +1513,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, RCX); |
if (kNumChecks > 1) { |