commit | 0792c32e8fe0dc3da193b49f845bb6e45401b00e | [log] [tgz] |
---|---|---|
author | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Thu Apr 03 02:57:30 2008 +0000 |
committer | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Thu Apr 03 02:57:30 2008 +0000 |
tree | 79974cfdfbf163a51992f5f2af15e81aaf530480 | |
parent | c3a3a24a87338fbe65b1a137bb9b086fdd3b63bd [diff] |
Manually replacing / 2's with >> 1's as this generates more optimal code in web mode because we don't have to coerce the result to integer. However, it's only safe for non-negative numbers because shifting doesn't round correctly. Review by: knorton (desk check) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2332 8db76d5a-ed1c-0410-87a9-c151d255dfc7