diff options
Diffstat (limited to 'deps/v8/test/mjsunit/bit-not.js')
-rw-r--r-- | deps/v8/test/mjsunit/bit-not.js | 2 |
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); } |