| Index: runtime/vm/megamorphic_cache_table.cc
|
| diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc
|
| index 77d32ae138683c2ec8e6b50314e87c3ce12ec5a4..33df09af56af61d5ac5874b9e8e62a0fe1d30a5a 100644
|
| --- a/runtime/vm/megamorphic_cache_table.cc
|
| +++ b/runtime/vm/megamorphic_cache_table.cc
|
| @@ -76,6 +76,8 @@ void MegamorphicCacheTable::InitMissHandler(Isolate* isolate) {
|
| // For inclusion in Snapshot::kAppJIT.
|
| function.set_unoptimized_code(code);
|
|
|
| + ASSERT(isolate->object_store()->megamorphic_miss_function() ==
|
| + Function::null());
|
| isolate->object_store()->SetMegamorphicMissHandler(code, function);
|
| }
|
|
|
|
|