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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 1544583002: For background compilation we copy ICData so that it is immutable during comnpilation. However, we … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: l Created 5 years 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/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 8c6fa8e9a378a3a576f63ab48a6201f1eb78b36d..1082ad0ddc8d35e4da6efaee92dcdb87b00f213d 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -1118,7 +1118,8 @@ void FlowGraphCompiler::GenerateInstanceCall(
intptr_t token_pos,
intptr_t argument_count,
LocationSummary* locs,
- const ICData& ic_data) {
+ const ICData& ic_data_in) {
+ const ICData& ic_data = ICData::ZoneHandle(ic_data_in.Original());
if (Compiler::always_optimize()) {
EmitSwitchableInstanceCall(ic_data, argument_count,
deopt_id, token_pos, locs);

Powered by Google App Engine
This is Rietveld 408576698