| Index: runtime/vm/dart.cc
|
| diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
|
| index 368c30fe46073b069ec42081eb0b08bdc3537dd6..2fb04b32233f9b772b2389ce7f4b8d9a46c4f886 100644
|
| --- a/runtime/vm/dart.cc
|
| +++ b/runtime/vm/dart.cc
|
| @@ -353,6 +353,10 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| if (!Dart::IsRunningPrecompiledCode()) {
|
| MegamorphicCacheTable::InitMissHandler(I);
|
| }
|
| + const Function& miss_function =
|
| + Function::Handle(I->object_store()->megamorphic_miss_function());
|
| + I->set_ic_miss_function(miss_function);
|
| +
|
| if (snapshot_buffer == NULL) {
|
| if (!I->object_store()->PreallocateObjects()) {
|
| return I->object_store()->sticky_error();
|
|
|