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

Issue 235013002: Fix polymorphic inlining of method dispatchers. (Closed)

Created:
6 years, 8 months ago by Florian Schneider
Modified:
6 years, 7 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix polymorphic inlining of method dispatchers. Field dispatchers and noSuchMethod dispatchers are generated by the VM compiler and should always be inlined - this CL fixes the case of polymorphic inlining where dipatchers were not inlined in the same way as for monomorphic calls sites. R=iposva@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=35490

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -25 lines) Patch
M runtime/vm/flow_graph_inliner.cc View 2 chunks +2 lines, -2 lines 4 comments Download
M runtime/vm/flow_graph_optimizer.cc View 7 chunks +6 lines, -18 lines 0 comments Download
M runtime/vm/intermediate_language.h View 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +22 lines, -4 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Florian Schneider
This fixes part of the performance regression after my change to closure calls: Polymorphic sites ...
6 years, 8 months ago (2014-04-11 11:34:32 UTC) #1
srdjan
lgtm https://codereview.chromium.org/235013002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/235013002/diff/1/runtime/vm/intermediate_language.cc#newcode2178 runtime/vm/intermediate_language.cc:2178: const Function& target = Function::Handle(ic_data().GetTargetAt(i)); 'Allocate' handle outside ...
6 years, 8 months ago (2014-04-11 17:01:04 UTC) #2
Ivan Posva
I am retracting Srdjan's LGTM. The way I understand this code it has holes that ...
6 years, 8 months ago (2014-04-11 21:12:00 UTC) #3
Florian Schneider
https://codereview.chromium.org/235013002/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/235013002/diff/1/runtime/vm/flow_graph_inliner.cc#newcode305 runtime/vm/flow_graph_inliner.cc:305: instance_call->HasOnlyDispatcherTargets()) { On 2014/04/11 21:12:01, Ivan Posva wrote: > ...
6 years, 8 months ago (2014-04-22 00:09:10 UTC) #4
Ivan Posva
https://codereview.chromium.org/235013002/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/235013002/diff/1/runtime/vm/flow_graph_inliner.cc#newcode305 runtime/vm/flow_graph_inliner.cc:305: instance_call->HasOnlyDispatcherTargets()) { On 2014/04/22 00:09:10, Florian Schneider wrote: > ...
6 years, 8 months ago (2014-04-24 07:28:47 UTC) #5
Florian Schneider
https://codereview.chromium.org/235013002/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/235013002/diff/1/runtime/vm/flow_graph_inliner.cc#newcode305 runtime/vm/flow_graph_inliner.cc:305: instance_call->HasOnlyDispatcherTargets()) { On 2014/04/24 07:28:47, Ivan Posva wrote: > ...
6 years, 8 months ago (2014-04-24 12:00:44 UTC) #6
Florian Schneider
6 years, 7 months ago (2014-04-28 18:06:51 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 manually as r35490 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698