commit | 6ded16be15dd865a9b21ea304d5273c8be299c87 | [log] [tgz] |
---|---|---|
author | Steve Block <steveblock@google.com> | Mon May 10 14:33:55 2010 +0100 |
committer | Steve Block <steveblock@google.com> | Mon May 10 15:08:22 2010 +0100 |
tree | b3661ae5d929e233f7024223f3fad0f2a284cd6e | |
parent | 6599b9dd3411791c9d89ab7efbfb4131e5664c48 [diff] [blame] |
Update V8 to r4588 We're using WebKit r58033, as used by http://src.chromium.org/svn/releases/5.0.387.0/DEPS This requires http://v8.googlecode.com/svn/trunk@4465 but this version has a crashing bug for ARM. Instead we use http://v8.googlecode.com/svn/trunk@4588, which is used by http://src.chromium.org/svn/releases/6.0.399.0/DEPS Note that a trivial bug fix was required in arm/codegen-arm.cc. This is guarded with ANDROID. See http://code.google.com/p/v8/issues/detail?id=703 Change-Id: I459647a8286c4f8c7405f0c5581ecbf051a6f1e8
diff --git a/test/mjsunit/smi-ops.js b/test/mjsunit/smi-ops.js index 39b4894..9f18790 100644 --- a/test/mjsunit/smi-ops.js +++ b/test/mjsunit/smi-ops.js
@@ -669,3 +669,12 @@ function shiftByZero(n) { return n << 0; } assertEquals(3, shiftByZero(3.1415)); + +// Verify that the static type information of x >>> 32 is computed correctly. +function LogicalShiftRightByMultipleOf32(x) { + x = x >>> 32; + return x + x; +} + +assertEquals(4589934592, LogicalShiftRightByMultipleOf32(-2000000000)); +assertEquals(4589934592, LogicalShiftRightByMultipleOf32(-2000000000));