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

Issue 11029027: Recursive inlining. (Closed)

Created:
8 years, 2 months ago by zerny-google
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Recursive inlining. Due to large performance regressions on dart2js the default depth is set to 1, i.e., we only inline the first level of calls by default. The depth can be changed with the inlining_depth_threshold flag. R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=13471

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : Changed base-case value of inlining depth. #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -34 lines) Patch
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 5 11 chunks +117 lines, -34 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
zerny-google
Hi guys, Despite regressions on dart2js, we might want to land recursive inlining so it ...
8 years, 2 months ago (2012-10-04 16:37:55 UTC) #1
srdjan
DBC, and if Kevin is OK with it, I think we should land it. http://codereview.chromium.org/11029027/diff/1002/runtime/vm/flow_graph_inliner.cc ...
8 years, 2 months ago (2012-10-04 17:06:26 UTC) #2
zerny-google
Thanks for the review Srdjan, I have followups to your comments below, but might have ...
8 years, 2 months ago (2012-10-08 11:44:28 UTC) #3
srdjan
http://codereview.chromium.org/11029027/diff/1002/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): http://codereview.chromium.org/11029027/diff/1002/runtime/vm/flow_graph_inliner.cc#newcode102 runtime/vm/flow_graph_inliner.cc:102: } On 2012/10/08 11:44:28, zerny wrote: > On 2012/10/04 ...
8 years, 2 months ago (2012-10-08 15:31:03 UTC) #4
zerny-google
Thanks for the feedback. > > The collection of call sites happens after we have ...
8 years, 2 months ago (2012-10-09 11:32:50 UTC) #5
srdjan
LGTM from me, but please wait for Kevin's LGTM as well.
8 years, 2 months ago (2012-10-09 16:22:50 UTC) #6
Kevin Millikin (Google)
LGTM. http://codereview.chromium.org/11029027/diff/10001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): http://codereview.chromium.org/11029027/diff/10001/runtime/vm/flow_graph_inliner.cc#newcode83 runtime/vm/flow_graph_inliner.cc:83: BlockIterator block_it = graph->postorder_iterator(); I'd rather have this ...
8 years, 2 months ago (2012-10-10 09:45:25 UTC) #7
zerny-google
8 years, 2 months ago (2012-10-10 13:17:06 UTC) #8
http://codereview.chromium.org/11029027/diff/10001/runtime/vm/flow_graph_inli...
File runtime/vm/flow_graph_inliner.cc (right):

http://codereview.chromium.org/11029027/diff/10001/runtime/vm/flow_graph_inli...
runtime/vm/flow_graph_inliner.cc:83: BlockIterator block_it =
graph->postorder_iterator();
On 2012/10/10 09:45:25, kmillikin wrote:
> I'd rather have this in the for at the cost of an extra line.

Done.

Powered by Google App Engine
This is Rietveld 408576698