Fix a representation change bug in the Hydrogen graph construction.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 10 Feb 2011 10:28:59 +0000 (10:28 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 10 Feb 2011 10:28:59 +0000 (10:28 +0000)
commitc0fd053982ae0c932a4736f7e558f849f764ab02
treeed81b99ea4b902b40bd67eb5fc9cdb1d00b6e6d0
parente88f25f6dc580ede5a297d76c4aedd295e517e9b
Fix a representation change bug in the Hydrogen graph construction.

We could try to treat an HPhi as an HInstruction because the code did
not properly handle the case of a phi in a block with itself as one of
the predecessors.

BUG=v8:1134

Review URL: http://codereview.chromium.org/6471020

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen.cc