| Index: runtime/vm/dart.cc
|
| diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
|
| index 895d6b192b5e6fa137818d574c2d3db8b8532fe7..d870b04031a1ec4f65ba0bbbcdf5bfbe1d90788e 100644
|
| --- a/runtime/vm/dart.cc
|
| +++ b/runtime/vm/dart.cc
|
| @@ -454,11 +454,14 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| StubCode::Init(I);
|
| }
|
|
|
| +#if !defined(DART_PRECOMPILED_RUNTIME)
|
| // When running precompiled, the megamorphic miss function/code comes from the
|
| // snapshot.
|
| if (!Dart::IsRunningPrecompiledCode()) {
|
| MegamorphicCacheTable::InitMissHandler(I);
|
| }
|
| +#endif
|
| +
|
| const Code& miss_code =
|
| Code::Handle(I->object_store()->megamorphic_miss_code());
|
| I->set_ic_miss_code(miss_code);
|
|
|