Check for undefined in the binary operation stub when convertion to
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 22 Dec 2009 09:48:55 +0000 (09:48 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 22 Dec 2009 09:48:55 +0000 (09:48 +0000)
commitaf6971d883048d6571cf52e8571f0743b359ec4f
treeb5115962b79198d08fa3c3292338b5f45398cf76
parent8d6a8e24515fcecc02e1e5e28b0efcbc2e193515
Check for undefined in the binary operation stub when convertion to
int32 for bitops.  undefined converts to zero in ToInt32 conversions.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3512 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/codegen-ia32.cc
test/mjsunit/bitwise-operations-undefined.js [new file with mode: 0644]