Index: runtime/vm/isolate.cc |
=================================================================== |
--- runtime/vm/isolate.cc (revision 26124) |
+++ runtime/vm/isolate.cc (working copy) |
@@ -721,16 +721,12 @@ |
for (int i = 0; i < libraries.Length(); i++) { |
library ^= libraries.At(i); |
Class& cls = Class::Handle(); |
- ClassDictionaryIterator iter(library); |
+ ClassDictionaryIterator iter(library, |
+ ClassDictionaryIterator::kIteratePrivate); |
while (iter.HasNext()) { |
cls = iter.GetNextClass(); |
AddFunctionsFromClass(cls, &invoked_functions); |
} |
- Array& anon_classes = Array::Handle(library.raw_ptr()->anonymous_classes_); |
- for (int i = 0; i < library.raw_ptr()->num_anonymous_; i++) { |
- cls ^= anon_classes.At(i); |
- AddFunctionsFromClass(cls, &invoked_functions); |
- } |
} |
invoked_functions.Sort(MostUsedFunctionFirst); |
for (int i = 0; i < invoked_functions.length(); i++) { |