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 5781c29fd76bdbbc8776da1b2703058578411ad8..bf3e26ee4d56df2f0b595f59da501f61b1cca4be 100644 |
--- a/runtime/vm/flow_graph_compiler_arm.cc |
+++ b/runtime/vm/flow_graph_compiler_arm.cc |
@@ -1284,12 +1284,13 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall( |
intptr_t deopt_id, |
intptr_t token_pos, |
LocationSummary* locs) { |
+ MegamorphicCacheTable* table = Isolate::Current()->megamorphic_cache_table(); |
const String& name = String::Handle(zone(), ic_data.target_name()); |
const Array& arguments_descriptor = |
Array::ZoneHandle(zone(), ic_data.arguments_descriptor()); |
ASSERT(!arguments_descriptor.IsNull() && (arguments_descriptor.Length() > 0)); |
- const MegamorphicCache& cache = MegamorphicCache::ZoneHandle(zone(), |
- MegamorphicCacheTable::Lookup(isolate(), name, arguments_descriptor)); |
+ const MegamorphicCache& cache = MegamorphicCache::ZoneHandle( |
+ zone(), table->Lookup(name, arguments_descriptor)); |
const Register receiverR = R0; |
const Register cacheR = R1; |
const Register targetR = R1; |