Optimize isFinite and isNaN.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 5 Sep 2011 11:08:57 +0000 (11:08 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 5 Sep 2011 11:08:57 +0000 (11:08 +0000)
commit6875d5e7341496bc8fe0192a1881f5dede4ad9a2
tree28f4f4793406f4cbb62730b77ae970889f6a5cc8
parent42e8bb6216f39ff2e3a1a193c0a089ff77e32f4e
Optimize isFinite and isNaN.

Arithmetic on infinities and NaN is much slower than doing several exact comparisons.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9134 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/macros.py
src/v8natives.js