Index: runtime/vm/flow_graph_compiler_mips.cc |
diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc |
index 204ee8f252ea11e2804500927e5770f3a480c95f..f9dea83f77303fabced6fc42b6ffbc5a8adf75d7 100644 |
--- a/runtime/vm/flow_graph_compiler_mips.cc |
+++ b/runtime/vm/flow_graph_compiler_mips.cc |
@@ -1282,13 +1282,12 @@ 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(), table->Lookup(name, arguments_descriptor)); |
+ const MegamorphicCache& cache = MegamorphicCache::ZoneHandle(zone(), |
+ MegamorphicCacheTable::Lookup(isolate(), name, arguments_descriptor)); |
__ Comment("MegamorphicInstanceCall"); |
const Register receiverR = T0; |
const Register cacheR = T1; |