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

Issue 10939031: Replace start_env with initial_definitions in GraphEntryInstr. (Closed)

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

Description

Replace start_env with initial_definitions in GraphEntryInstr. The initial definitions do not have any deoptimization information and can be represented as just a list of definitions. For easy access, the constant_null getter remains but assumes that index 0 contains the constant. R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=12555

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -131 lines) Patch
M runtime/vm/flow_graph.cc View 1 2 4 chunks +21 lines, -33 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 1 2 2 chunks +36 lines, -56 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 2 chunks +7 lines, -14 lines 0 comments Download
M runtime/vm/il_printer.cc View 2 chunks +13 lines, -14 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
zerny-google
Please have a look.
8 years, 3 months ago (2012-09-19 11:36:34 UTC) #1
Kevin Millikin (Google)
LGTM with comments. https://codereview.chromium.org/10939031/diff/1/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/10939031/diff/1/runtime/vm/flow_graph_allocator.cc#newcode547 runtime/vm/flow_graph_allocator.cc:547: } } else { UNREACHABLE(); } ...
8 years, 3 months ago (2012-09-19 11:49:29 UTC) #2
zerny-google
8 years, 3 months ago (2012-09-19 12:15:05 UTC) #3
Done.

https://codereview.chromium.org/10939031/diff/1/runtime/vm/flow_graph_allocat...
File runtime/vm/flow_graph_allocator.cc (right):

https://codereview.chromium.org/10939031/diff/1/runtime/vm/flow_graph_allocat...
runtime/vm/flow_graph_allocator.cc:547: }
On 2012/09/19 11:49:29, kmillikin wrote:
> } else {
>   UNREACHABLE();
> }

Done.

https://codereview.chromium.org/10939031/diff/1/runtime/vm/flow_graph_allocat...
runtime/vm/flow_graph_allocator.cc:554: // All incoming parameters are tagged.
On 2012/09/19 11:49:29, kmillikin wrote:
> This comment is wrong so remove it or say something like: "Parameters and the
> constant null are tagged, so allocated to CPU [general purpose?] registers."

Done.

Powered by Google App Engine
This is Rietveld 408576698