Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index d55a6f10ce4bafd1e867ac513b912b6a04ac1e06..388db1a265d76e4a1c5ba5301f220d26104c7a7a 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1495,8 +1495,7 @@ void Precompiler::CollectDynamicFunctionNames() { |
} |
} |
- // Locate all entries with one function only, and whose owner is neither |
- // subclassed nor implemented. |
+ // Locate all entries with one function only |
Table::Iterator iter(&table); |
String& key = String::Handle(Z); |
UniqueFunctionsSet functions_set(HashTables::New<UniqueFunctionsSet>(20)); |
@@ -1508,9 +1507,7 @@ void Precompiler::CollectDynamicFunctionNames() { |
if (farray.Length() == 1) { |
function ^= farray.At(0); |
cls = function.Owner(); |
- if (!CHA::IsImplemented(cls) && !CHA::HasSubclasses(cls)) { |
- functions_set.Insert(function); |
- } |
+ functions_set.Insert(function); |
} |
} |