[turbofan] Turn JSTypedLowering into an AdvancedReducer.
authormstarzinger <mstarzinger@chromium.org>
Tue, 19 May 2015 09:57:54 +0000 (02:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 09:57:42 +0000 (09:57 +0000)
commit329a3f220c9b094378b376db8735ef06a66f2024
tree2ff6e88809c00c49516328c23ecdea8ed0be4c78
parent528aa288bfa494f46356c0beb6ec9cb37daf8675
[turbofan] Turn JSTypedLowering into an AdvancedReducer.

This in turn allows usage of AdvancedReducer::ReplaceWithValue which
has access to the underlying graph reducer. It will allow us to deal
with exception continuations correctly.

R=titzer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28468}
src/compiler/graph-reducer.h
src/compiler/js-typed-lowering.cc
src/compiler/js-typed-lowering.h
src/compiler/pipeline.cc
test/cctest/compiler/test-js-typed-lowering.cc
test/unittests/compiler/js-typed-lowering-unittest.cc