| Index: runtime/vm/megamorphic_cache_table.cc
|
| diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc
|
| index b793d35de7237bcd17e9bff2d0e2deedad505dab..3a55d5a36badb11e43328d1861e21f1af12d725c 100644
|
| --- a/runtime/vm/megamorphic_cache_table.cc
|
| +++ b/runtime/vm/megamorphic_cache_table.cc
|
| @@ -76,6 +76,8 @@ void MegamorphicCacheTable::InitMissHandler(Isolate* isolate) {
|
| function.set_is_debuggable(false);
|
| function.set_is_visible(false);
|
| function.AttachCode(code);
|
| + // For inclusion in Snapshot::kAppWithJIT.
|
| + function.set_unoptimized_code(code);
|
|
|
| isolate->object_store()->SetMegamorphicMissHandler(code, function);
|
| }
|
|
|