Handle all kind of arguments in the ToBooleanStub. While this is not very thrilling...
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 18 May 2011 10:40:01 +0000 (10:40 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 18 May 2011 10:40:01 +0000 (10:40 +0000)
commitf39b0dfccb2d5fc8340c0bf35109f074d172f53b
treea34c354d0d3d97da9234eaac1b33f7afc4c433d8
parent2cb0c0a957de66ccdb190ba86ddaf21f0f622c97
Handle all kind of arguments in the ToBooleanStub. While this is not very thrilling in itself, it is one of several steps to add type recording to this stub. Removed a duplicate check for null in the ARM stub and made a tiny simplification, removing a sub instruction.

As a side note, this change has some positive impact on the performace, e.g. imaging-darkroom is 8.3% faster and ws-ieee754conv is even 19.9% faster. No idea why the speedup is so big in some cases, but never look a gift horse in the mouth... ;-)
Review URL: http://codereview.chromium.org/7042004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7926 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/code-stubs-arm.cc
src/arm/full-codegen-arm.cc
src/ia32/code-stubs-ia32.cc
src/ia32/full-codegen-ia32.cc
src/x64/code-stubs-x64.cc
src/x64/full-codegen-x64.cc