[turbofan] Add AdvancedReducer::ReplaceWithValue() method and convert JSInlining...
authortitzer <titzer@chromium.org>
Tue, 12 May 2015 12:41:41 +0000 (05:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 May 2015 12:41:36 +0000 (12:41 +0000)
commite5d5cac7d91eb369e599ae8efe65a710ad101b60
tree3c9a27952b796683dd6e03c5984bcbc3508c8e09
parentbdeb0de88c8cf5f2c78f261b45314138f525110d
[turbofan] Add AdvancedReducer::ReplaceWithValue() method and convert JSInlining to an AdvancedReducer.

Note that this is just a duplication for now. We'll want to get rid of the
NodeProperties::ReplaceWithValue() method in the long run.

R=bmeurer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1135483004

Cr-Commit-Position: refs/heads/master@{#28363}
src/compiler/control-reducer.cc
src/compiler/graph-reducer.cc
src/compiler/graph-reducer.h
src/compiler/js-inlining.cc
src/compiler/js-inlining.h
src/compiler/pipeline.cc
test/unittests/compiler/graph-reducer-unittest.h