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

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: remove flag 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
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8be2453faa88e6b00c91d24c248c4a4cf2cf3d3a 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);
@@ -1185,7 +1186,8 @@ void FlowGraphCompiler::GenerateStaticCall(intptr_t deopt_id,
intptr_t argument_count,
const Array& argument_names,
LocationSummary* locs,
- const ICData& ic_data) {
+ const ICData& ic_data_in) {
+ const ICData& ic_data = ICData::ZoneHandle(ic_data_in.Original());
const Array& arguments_descriptor = Array::ZoneHandle(
ic_data.IsNull() ? ArgumentsDescriptor::New(argument_count,
argument_names)
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698