Index: runtime/vm/isolate.cc |
=================================================================== |
--- runtime/vm/isolate.cc (revision 27712) |
+++ runtime/vm/isolate.cc (working copy) |
@@ -785,9 +785,8 @@ |
PrintInvokedFunctions(); |
} |
- if (FLAG_print_coverage) { |
- CodeCoverage::Print(this); |
- } |
+ // Write out the coverage data if collection has been enabled. |
+ CodeCoverage::Write(this); |
// Finalize any weak persistent handles with a non-null referent. |
FinalizeWeakPersistentHandlesVisitor visitor; |