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

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
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 8991390491f3258fde761e22ea96b5170fe7b52e..7324522c3c5046073934b24cfdfb4ba034b257a3 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -2390,7 +2390,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,
+ TokenDescriptor(start_pos),
+ TokenDescriptor(end_pos));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698