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

Unified Diff: pkg/compiler/lib/src/dump_info.dart

Issue 1288593002: dart2js: add function coverage tracking in dart2js output, dumpinfo, and (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | pkg/compiler/lib/src/info/info.dart » ('j') | pkg/compiler/tool/coverage_log_server.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index 9aa3e0823845c9b0a4dc140beea8a9eb1c583008..8dec58485534cc5eae6ea17d4edcc835832e1cd5 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -121,6 +121,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
FieldInfo info = new FieldInfo(
name: element.name,
+ coverageId: '${element.hashCode}',
type: '${element.type}',
inferredType: '$inferredType',
size: size,
@@ -261,6 +262,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
FunctionInfo info = new FunctionInfo(
name: name,
+ coverageId: '${element.hashCode}',
modifiers: modifiers,
size: size,
returnType: returnType,
« no previous file with comments | « no previous file | pkg/compiler/lib/src/info/info.dart » ('j') | pkg/compiler/tool/coverage_log_server.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698