[turbofan] Turn JSIntrinsicLowering into an AdvancedReducer.
authormstarzinger <mstarzinger@chromium.org>
Tue, 19 May 2015 15:10:34 +0000 (08:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 15:10:23 +0000 (15:10 +0000)
commitc06b1e05ca4ef10a2c9136005bac9b40551d5b93
treece8d7adf7f0284e3c3d317a0f456d31b90f9e857
parent66665ae7274224ace841560462baee95ae3cc6cc
[turbofan] Turn JSIntrinsicLowering 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/1134663006

Cr-Commit-Position: refs/heads/master@{#28485}
src/compiler/js-intrinsic-lowering.cc
src/compiler/js-intrinsic-lowering.h
src/compiler/pipeline.cc
test/unittests/compiler/js-intrinsic-lowering-unittest.cc