Reviewers: Erik Corry,

Description:
Fix bug in the count operation where we statically know the input is a smi.

Even if we know that the input to a count operation is a smi we still need to
check if the result overflowed (and becomes a heap number).

Also fix the smi loop analysis to take two border cases correctly into account.


Please review this at http://codereview.chromium.org/1040002

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/data-flow.cc
  M     src/ia32/codegen-ia32.cc
  A     test/mjsunit/compiler/loopcount.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to