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

Unified Diff: runtime/vm/coverage.h

Issue 324843004: Significantly improve performance of code coverage tool by precomputing a map token_pos->line numbe… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/vm/coverage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/coverage.h
===================================================================
--- runtime/vm/coverage.h (revision 37119)
+++ runtime/vm/coverage.h (working copy)
@@ -15,6 +15,7 @@
// Forward declarations.
class Class;
class Function;
+template <typename T> class GrowableArray;
class Isolate;
class JSONArray;
class JSONStream;
@@ -27,7 +28,8 @@
private:
static void PrintClass(const Class& cls, const JSONArray& arr);
static void CompileAndAdd(const Function& function,
- const JSONArray& hits_arr);
+ const JSONArray& hits_arr,
+ const GrowableArray<intptr_t>& pos_to_line);
};
} // namespace dart
« no previous file with comments | « no previous file | runtime/vm/coverage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698