Avoid a smi check when comparing an unknown to a constant smi for equality on ia32...
authorwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 15 Jul 2010 10:34:08 +0000 (10:34 +0000)
committerwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 15 Jul 2010 10:34:08 +0000 (10:34 +0000)
commitdd06f4f102f479fb34119fdd2f13fab42fe85aac
treeebc0e027280d7dd9284f752c04b6d52e02e52f77
parentee1598ad90a7e6a790cbbab2b8e31510ee3eda6b
Avoid a smi check when comparing an unknown to a constant smi for equality on ia32 and x64 platforms.
Review URL: http://codereview.chromium.org/2897013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5077 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/x64/codegen-x64.cc
src/x64/codegen-x64.h