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

Unified Diff: runtime/vm/service.cc

Issue 1644793002: Replace intptr_t with TokenDescriptor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/vm/scopes_test.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 5444ceb152190babf77fe5c96bebc9974f58c646..24c159842a07daf34ab5c95b57c30f583b0993d6 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -2473,7 +2473,10 @@ static bool GetSourceReport(Thread* thread, JSONStream* js) {
}
}
SourceReport report(report_set, compile_mode);
- report.PrintJSON(js, script, start_pos, end_pos);
+ report.PrintJSON(js,
+ script,
+ TokenPosition(start_pos),
+ TokenPosition(end_pos));
return true;
}
« no previous file with comments | « runtime/vm/scopes_test.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698