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

Unified Diff: runtime/vm/coverage.cc

Issue 23903034: - Disallow copy constructors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « no previous file | runtime/vm/disassembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/coverage.cc
===================================================================
--- runtime/vm/coverage.cc (revision 27344)
+++ runtime/vm/coverage.cc (working copy)
@@ -27,7 +27,7 @@
for (int i = 0; i < functions.Length(); i++) {
function ^= functions.At(i);
if (function.HasCode()) {
- JSONObject jsobj(jsarr);
+ JSONObject jsobj(&jsarr);
script = function.script();
url = script.url();
@@ -39,7 +39,7 @@
ic_array = code.ExtractTypeFeedbackArray();
descriptors = code.pc_descriptors();
- JSONArray jsarr(jsobj, "hits");
+ JSONArray jsarr(&jsobj, "hits");
for (int j = 0; j < descriptors.Length(); j++) {
PcDescriptors::Kind kind = descriptors.DescriptorKind(j);
// Only IC based calls have counting.
@@ -52,7 +52,7 @@
intptr_t line = -1;
intptr_t col = -1;
script.GetTokenLocation(token_pos, &line, &col);
- JSONObject ic_info(jsarr);
+ JSONObject ic_info(&jsarr);
ic_info.AddProperty("line", line);
ic_info.AddProperty("col", col);
ic_info.AddProperty("count", ic_data.AggregateCount());
« no previous file with comments | « no previous file | runtime/vm/disassembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698