summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/bit-not.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-06-29 17:26:51 +0200
committerRyan Dahl <ry@tinyclouds.org>2011-06-29 17:26:51 +0200
commit33af2720f26c2b25bc7f75ce7eb454ff99db6d35 (patch)
tree9a38f0c96420edf503eebd6325dd8d2d8249f653 /deps/v8/test/mjsunit/bit-not.js
parent6afdca885adeeeed9eef8cbb01c3d97af0bc084d (diff)
downloadnode-new-33af2720f26c2b25bc7f75ce7eb454ff99db6d35.tar.gz
Upgrade V8 to 3.4.8
Diffstat (limited to 'deps/v8/test/mjsunit/bit-not.js')
-rw-r--r--deps/v8/test/mjsunit/bit-not.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/bit-not.js b/deps/v8/test/mjsunit/bit-not.js
index 85eccc4a29..d0316a71ea 100644
--- a/deps/v8/test/mjsunit/bit-not.js
+++ b/deps/v8/test/mjsunit/bit-not.js
@@ -68,6 +68,8 @@ testBitNot("-9.4", "string-9.4");
// the fast path and just use the slow path instead.
function TryToGC() {
var x = 0x40000000;
+ // Put in an eval to foil Crankshaft.
+ eval("");
for (var i = 0; i < 1000000; i++) {
assertEquals(~0x40000000, ~x);
}