| 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 40143d4ce34c5fbad73c092ca410fbb3dc2480c4..59934cd1360ca8bbe5f9309aadcad9df9bc7c464 100644
|
| --- a/runtime/vm/flow_graph_compiler_x64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_x64.cc
|
| @@ -1311,13 +1311,12 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall(
|
| intptr_t deopt_id,
|
| intptr_t token_pos,
|
| LocationSummary* locs) {
|
| - MegamorphicCacheTable* table = isolate()->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));
|
| const Register receiverR = RDI;
|
| const Register cacheR = RBX;
|
| const Register targetR = RCX;
|
|
|