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

Unified Diff: runtime/vm/source_report.cc

Issue 1672873003: Bailout if field state changed during background compilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Comment Created 4 years, 10 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/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/source_report.cc
diff --git a/runtime/vm/source_report.cc b/runtime/vm/source_report.cc
index 6290b6edb1e09946159e4ce2909236d65e132fe2..3b9398f01e9a7025c9067e8873a5b40f31d72ddc 100644
--- a/runtime/vm/source_report.cc
+++ b/runtime/vm/source_report.cc
@@ -111,14 +111,14 @@ bool SourceReport::ScriptIsLoadedByLibrary(const Script& script,
void SourceReport::PrintCallSitesData(JSONObject* jsobj,
- const Function& func,
+ const Function& function,
const Code& code) {
- const TokenPosition begin_pos = func.token_pos();
- const TokenPosition end_pos = func.end_token_pos();
+ const TokenPosition begin_pos = function.token_pos();
+ const TokenPosition end_pos = function.end_token_pos();
ZoneGrowableArray<const ICData*>* ic_data_array =
new(zone()) ZoneGrowableArray<const ICData*>();
- func.RestoreICDataMap(ic_data_array, false /* clone descriptors */);
+ function.RestoreICDataMap(ic_data_array, false /* clone descriptors */);
const PcDescriptors& descriptors = PcDescriptors::Handle(
zone(), code.pc_descriptors());
@@ -143,14 +143,14 @@ void SourceReport::PrintCallSitesData(JSONObject* jsobj,
}
void SourceReport::PrintCoverageData(JSONObject* jsobj,
- const Function& func,
+ const Function& function,
const Code& code) {
- const TokenPosition begin_pos = func.token_pos();
- const TokenPosition end_pos = func.end_token_pos();
+ const TokenPosition begin_pos = function.token_pos();
+ const TokenPosition end_pos = function.end_token_pos();
ZoneGrowableArray<const ICData*>* ic_data_array =
new(zone()) ZoneGrowableArray<const ICData*>();
- func.RestoreICDataMap(ic_data_array, false /* clone descriptors */);
+ function.RestoreICDataMap(ic_data_array, false /* clone descriptors */);
const PcDescriptors& descriptors = PcDescriptors::Handle(
zone(), code.pc_descriptors());
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698