Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Issue 1756007: Fix error in static type information computation for bitwise shift. (Closed)

Created:
10 years, 8 months ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Fix error in static type information computation for bitwise shift. Committed: http://code.google.com/p/v8/source/detail?r=4471

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -8 lines) Patch
M src/ia32/codegen-ia32.cc View 1 chunk +13 lines, -6 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/smi-ops.js View 1 chunk +9 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
10 years, 8 months ago (2010-04-22 08:40:14 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/1756007/diff/1/2 File test/mjsunit/smi-ops.js (right): http://codereview.chromium.org/1756007/diff/1/2#newcode680 test/mjsunit/smi-ops.js:680: assertEquals(4589934592, LogicalShiftRightByMultipleOf32(-2000000000)); Why the same line twice?
10 years, 8 months ago (2010-04-22 08:59:04 UTC) #2
William Hesse
10 years, 8 months ago (2010-04-22 09:01:29 UTC) #3
http://codereview.chromium.org/1756007/diff/1/2
File test/mjsunit/smi-ops.js (right):

http://codereview.chromium.org/1756007/diff/1/2#newcode680
test/mjsunit/smi-ops.js:680: assertEquals(4589934592,
LogicalShiftRightByMultipleOf32(-2000000000));
On 2010/04/22 08:59:04, Lasse Reichstein wrote:
> Why the same line twice?

Because the function returns different answers each time, due to binary
operation inline caches.

Powered by Google App Engine
This is Rietveld 408576698