Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index 368c30fe46073b069ec42081eb0b08bdc3537dd6..36ce35e28b88b9ff87af6fe7c662aef17bef6778 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 Code& miss_code = |
+ Code::Handle(I->object_store()->megamorphic_miss_code()); |
+ I->set_ic_miss_code(miss_code); |
+ |
if (snapshot_buffer == NULL) { |
if (!I->object_store()->PreallocateObjects()) { |
return I->object_store()->sticky_error(); |