Replace the recursion in PropagateMinusZeroChecks() with a loop and a worklist.
authorbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Mar 2014 05:52:03 +0000 (05:52 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Mar 2014 05:52:03 +0000 (05:52 +0000)
commitc981914d4c5c68178e7defb9b03bfb7926b447a3
tree443731a4e2a4bb6373f7ed74d43556ad1652d6e4
parent6503dfb72b8c87fe98b1fca88cdeccb85ee0c702
Replace the recursion in PropagateMinusZeroChecks() with a loop and a worklist.

Also refactor the related code in preparation for fixing the
range analysis.

BUG=v8:3204
LOG=y
R=svenpanne@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19737 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/hydrogen-minus-zero.cc
src/hydrogen-minus-zero.h