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

Issue 11312200: Eradicate CallSiteInliner::next_ssa_temp_index_. (Closed)

Created:
8 years, 1 month ago by Vyacheslav Egorov (Google)
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Eradicate CallSiteInliner::next_ssa_temp_index_. It should always be equal to the max SSA temp index stored on the caller graph itself. Thus it is redundant and dangerous to store it in two places. R=kmillikin@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=14827

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M runtime/vm/flow_graph_inliner.cc View 4 chunks +2 lines, -4 lines 0 comments Download
A tests/language/inline_add_constants_to_initial_env.dart View 1 chunk +15 lines, -0 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Vyacheslav Egorov (Google)
8 years, 1 month ago (2012-11-13 00:45:31 UTC) #1
Kevin Millikin (Google)
8 years, 1 month ago (2012-11-13 00:48:29 UTC) #2
LGTM.

https://codereview.chromium.org/11312200/diff/1/tests/language/inline_add_con...
File tests/language/inline_add_constants_to_initial_env.dart (right):

https://codereview.chromium.org/11312200/diff/1/tests/language/inline_add_con...
tests/language/inline_add_constants_to_initial_env.dart:4: // Test that SSA
values are correctly numbered after inlining that adds constants
I guess this is a long line.  Suggest // NOLINT or to wrap it.

Powered by Google App Engine
This is Rietveld 408576698