Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Unified Diff: runtime/vm/coverage.cc

Issue 1330703002: Do not emit coverage/callsite info for implicit closure functions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix test Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/service/coverage_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/coverage.cc
diff --git a/runtime/vm/coverage.cc b/runtime/vm/coverage.cc
index 7892e37fea4e5aa702c9fd6a7ef3b592018cd46b..207f83193d87905889101a29707544b0fe7c0451 100644
--- a/runtime/vm/coverage.cc
+++ b/runtime/vm/coverage.cc
@@ -185,10 +185,6 @@ void CodeCoverage::PrintClass(const Library& lib,
continue;
}
CompileAndAdd(function, hits_or_sites, pos_to_line, as_call_sites);
- if (function.HasImplicitClosureFunction()) {
- function = function.ImplicitClosureFunction();
- CompileAndAdd(function, hits_or_sites, pos_to_line, as_call_sites);
- }
i++;
}
}
« no previous file with comments | « runtime/observatory/tests/service/coverage_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698