Index: runtime/vm/megamorphic_cache_table.cc |
diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc |
index 514943f599d1e3ee0ad5d941a5b00c06fde2e10e..a8811c1a3293a87096ae4ffe239f882a58e4c800 100644 |
--- a/runtime/vm/megamorphic_cache_table.cc |
+++ b/runtime/vm/megamorphic_cache_table.cc |
@@ -48,6 +48,7 @@ RawFunction* MegamorphicCacheTable::miss_handler(Isolate* isolate) { |
return isolate->object_store()->megamorphic_miss_function(); |
} |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
void MegamorphicCacheTable::InitMissHandler(Isolate* isolate) { |
// The miss handler for a class ID not found in the table is invoked as a |
// normal Dart function. |
@@ -78,6 +79,7 @@ void MegamorphicCacheTable::InitMissHandler(Isolate* isolate) { |
Function::null()); |
isolate->object_store()->SetMegamorphicMissHandler(code, function); |
} |
+#endif // !defined(DART_PRECOMPILED_RUNTIME) |
void MegamorphicCacheTable::PrintSizes(Isolate* isolate) { |
StackZone zone(Thread::Current()); |