[turbofan] Remove the JSGraph dependency from the ControlFlowOptimizer.
authorbmeurer <bmeurer@chromium.org>
Thu, 28 May 2015 09:12:50 +0000 (02:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 May 2015 09:13:05 +0000 (09:13 +0000)
commitb77df02713c1ef03844ba339035756981a481d9a
tree5e101faf0732799c825a2fd887b7e08d5982b956
parent19482d29e525ab939224ca9c24dba6e22be92da3
[turbofan] Remove the JSGraph dependency from the ControlFlowOptimizer.

The control flow optimization should work independent of the JSGraph. We
used the JSGraph there because it was convinient, not because it was
necessary.

R=jarin@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28674}
src/compiler/control-flow-optimizer.cc
src/compiler/control-flow-optimizer.h
src/compiler/pipeline.cc
test/unittests/compiler/control-flow-optimizer-unittest.cc
test/unittests/compiler/graph-unittest.cc
test/unittests/compiler/graph-unittest.h