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 14488c2af07bfd014bbdd616fb929512f3aa6ee7..ae6d6105b9853aec50e4d1f5bd5014daa8f22ddf 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -1046,10 +1046,8 @@ void FlowGraphCompiler::CompileGraph() { |
if (function.IsClosureFunction()) { |
__ movq(Address(RBP, (slot_base - i) * kWordSize), CTX); |
} else { |
- const Context& empty_context = Context::ZoneHandle( |
- zone(), isolate()->object_store()->empty_context()); |
__ StoreObject(Address(RBP, (slot_base - i) * kWordSize), |
- empty_context); |
+ Object::empty_context()); |
} |
} else { |
ASSERT(num_locals > 1); |