| Index: runtime/vm/dart.cc
|
| diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
|
| index a0f8584168dfbe011c6d4cb3eb835c5d8fb3d1f3..a838585dda8b87ca9d50bab6a9cb6b1364bd6cb1 100644
|
| --- a/runtime/vm/dart.cc
|
| +++ b/runtime/vm/dart.cc
|
| @@ -158,7 +158,7 @@ const char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot,
|
| OS::Print("Size of vm isolate snapshot = %" Pd "\n",
|
| snapshot->length());
|
| vm_isolate_->heap()->PrintSizes();
|
| - vm_isolate_->megamorphic_cache_table()->PrintSizes();
|
| + MegamorphicCacheTable::PrintSizes(vm_isolate_);
|
| intptr_t size;
|
| intptr_t capacity;
|
| Symbols::GetStats(vm_isolate_, &size, &capacity);
|
| @@ -294,7 +294,7 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| }
|
| if (FLAG_trace_isolates) {
|
| I->heap()->PrintSizes();
|
| - I->megamorphic_cache_table()->PrintSizes();
|
| + MegamorphicCacheTable::PrintSizes(I);
|
| }
|
| } else {
|
| // Populate the isolate's symbol table with all symbols from the
|
| @@ -311,7 +311,7 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| StubCode::Init(I);
|
| }
|
|
|
| - I->megamorphic_cache_table()->InitMissHandler();
|
| + MegamorphicCacheTable::InitMissHandler(I);
|
| if (snapshot_buffer == NULL) {
|
| if (!I->object_store()->PreallocateObjects()) {
|
| return I->object_store()->sticky_error();
|
|
|