Chromium Code Reviews| Index: test/mjsunit/bit-not.js |
| =================================================================== |
| --- test/mjsunit/bit-not.js (revision 8053) |
| +++ test/mjsunit/bit-not.js (working copy) |
| @@ -68,6 +68,8 @@ |
| // the fast path and just use the slow path instead. |
| function TryToGC() { |
| var x = 0x40000000; |
| + // Put in an eval to foil Crankshaft. |
| + eval(""); |
|
Lasse Reichstein
2011/05/25 10:29:39
Are we sure Crankshaft will never support eval? Es
Erik Corry
2011/05/25 10:34:40
I will make it my mission to ensure that Crankshaf
|
| for (var i = 0; i < 1000000; i++) { |
| assertEquals(~0x40000000, ~x); |
| } |