Make HDeoptimize to explicitly use environment values.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Mar 2011 12:22:49 +0000 (12:22 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Mar 2011 12:22:49 +0000 (12:22 +0000)
commitc83f0a715e5b7220dc1e23a52643bb5b823e4c06
tree72c126c40e2388024309d9fe999dfe458843a857
parente578d87a2e317e801f11ce87b3f80d557eb353a4
Make HDeoptimize to explicitly use environment values.

Otherwise dead phi elimination can actually remove some of the implicitly used phis.

BUG=1257
TEST=test/mjsunit/regress/regress-1257.js

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7221 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen-instructions.h
src/hydrogen.cc
src/hydrogen.h
test/mjsunit/regress/regress-1257.js [new file with mode: 0644]