Fix a stack-height mismatch during deoptimization.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Mar 2011 17:01:12 +0000 (17:01 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Mar 2011 17:01:12 +0000 (17:01 +0000)
commit4a9056cbce4924a3f985aeddd06ba8ddb71df78d
treefcff1aebf740bcff7c2edb0ecef2ab3d7ecd3559
parentade4b7506bf86b6a9141efc798f0dc42e76609c1
Fix a stack-height mismatch during deoptimization.

When deoptimizing after a conditional expression in an effect context, we
should not see the value of the conditional expression.

BUG=v8:1237

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

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