Fix incorrect deoptimization for logical not in an effect context.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Feb 2011 13:05:49 +0000 (13:05 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Feb 2011 13:05:49 +0000 (13:05 +0000)
commitb02107284ac9b7c77f8c7b55ba9ff0788a4caba0
tree28b4d01a4a47ac41220c62b806dc9bf254e1204e
parentcf50c5e27c0053ce75ee2a4f40d739a2c276fa76
Fix incorrect deoptimization for logical not in an effect context.

The baseline compiler does not materialize a value for expressions of
the form !expr in an effect context so the graph translation should
not produce such an environment, otherwise we risk targeting it by
deoptimization.

BUG=v8:1167

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

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