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

Unified Diff: runtime/bin/vmservice/client/lib/src/service/cache.dart

Issue 197803004: Add dead CodeRegionTable for tracking overwritten Dart code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | runtime/bin/vmservice/client/lib/src/service/object.dart » ('j') | runtime/vm/profiler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/service/cache.dart
diff --git a/runtime/bin/vmservice/client/lib/src/service/cache.dart b/runtime/bin/vmservice/client/lib/src/service/cache.dart
index 02604ce9915599aa50a2dc91f657fdf68b5bd999..28b07ee6127a4c43043564d00babb9ed38ab667a 100644
--- a/runtime/bin/vmservice/client/lib/src/service/cache.dart
+++ b/runtime/bin/vmservice/client/lib/src/service/cache.dart
@@ -117,11 +117,11 @@ class CodeCache extends ServiceObjectCache<Code> {
}
void _updateProfileData(ServiceMap profile, List<Code> codeTable) {
- var codes = profile['codes'];
+ var codeRegions = profile['codes'];
var sampleCount = profile['samples'];
- for (var profileCode in codes) {
- Code code = profileCode['code'];
- code.updateProfileData(profileCode, codeTable, sampleCount);
+ for (var codeRegion in codeRegions) {
+ Code code = codeRegion['code'];
+ code.updateProfileData(codeRegion, codeTable, sampleCount);
}
}
}
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/lib/src/service/object.dart » ('j') | runtime/vm/profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698