[turbofan] Properly delete nodes in the GraphReducer.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Thu, 4 Sep 2014 09:22:10 +0000 (09:22 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Thu, 4 Sep 2014 09:22:10 +0000 (09:22 +0000)
commitb1eca2cea7825235a0ef242ad881b93de7929f6a
tree88f4c2947efb93b702fccbe39d830377963118bf
parentfdfe006ed7327920b8ed610b5b91487a692b9652
[turbofan] Properly delete nodes in the GraphReducer.

This is required to enable a value numbering reducer, which needs to be
able to recognize "dead nodes".

TEST=compiler-unittests,cctest
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23675 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/compiler.gyp
src/compiler/graph-reducer-unittest.cc [new file with mode: 0644]
src/compiler/graph-reducer.cc
src/compiler/node.cc
src/compiler/node.h
test/cctest/compiler/test-graph-reducer.cc