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

Issue 23684059: Polymorphic inlining of [] operations. (Closed)

Created:
7 years, 3 months ago by Florian Schneider
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Polymorphic inlining of [] operations. This CL adds the necessary parts to enable polymorphic inlining of recognized methods. For now it handles only []-calls. This helps code that deals with e.g. growable and fixed-length lists. The basic idea is to adapt the code in the flow graph optimizer so that it can be used from the generic inliner. Currently this adds a bit of boilerplate code which I intend to reduce when adding more recognized methods to be handled. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=27627

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -28 lines) Patch
runtime/vm/flow_graph.h View 1 chunk +4 lines, -0 lines 0 comments Download
runtime/vm/flow_graph.cc View 1 chunk +14 lines, -0 lines 0 comments Download
runtime/vm/flow_graph_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
runtime/vm/flow_graph_inliner.cc View 4 chunks +44 lines, -0 lines 0 comments Download
runtime/vm/flow_graph_optimizer.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 chunks +211 lines, -23 lines 0 comments Download
runtime/vm/intermediate_language.h View 4 chunks +19 lines, -3 lines 0 comments Download
runtime/vm/intermediate_language.cc View 1 chunk +1 line, -1 line 0 comments Download
runtime/vm/object.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Florian Schneider
7 years, 3 months ago (2013-09-12 15:34:59 UTC) #1
Florian Schneider
Redirecting to Kevin.
7 years, 3 months ago (2013-09-13 13:27:46 UTC) #2
Florian Schneider
@John: Would you mind taking a look? Kevin and Srdjan are not available at the ...
7 years, 3 months ago (2013-09-17 08:58:51 UTC) #3
Cutch
https://codereview.chromium.org/23684059/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/23684059/diff/1/runtime/vm/flow_graph_optimizer.cc#newcode1069 runtime/vm/flow_graph_optimizer.cc:1069: // TODO(fschneider): Extend to other recognized methods. The below ...
7 years, 3 months ago (2013-09-17 16:08:47 UTC) #4
Florian Schneider
Refactored TryInlineRecognizedMethod and got rid of the template parameter. https://codereview.chromium.org/23684059/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/23684059/diff/1/runtime/vm/flow_graph_optimizer.cc#newcode1069 runtime/vm/flow_graph_optimizer.cc:1069: ...
7 years, 3 months ago (2013-09-18 14:00:36 UTC) #5
Cutch
lgtm
7 years, 3 months ago (2013-09-18 14:04:24 UTC) #6
Florian Schneider
7 years, 3 months ago (2013-09-18 15:42:00 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r27627 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698