Reviewers: Vyacheslav Egorov,

Description:
Fix bugs in the range analysis for integers.

The overflow conditions were not correctly detected for
certain add, sub and mul instructions.

I replaced the previous code by using 64-bit arithmetic
to correctly identify overflows for *, + and -.


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

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

Affected files:
  M     src/hydrogen-instructions.h
  M     src/hydrogen-instructions.cc
  M     src/hydrogen.cc
  A     test/mjsunit/compiler/regress-intoverflow.js


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

Reply via email to