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

Unified Diff: test/mjsunit/bit-not.js

Issue 6987009: Fix GC-unsafe corner case in bit-not on ARM (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/binary-op-newspace.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « test/mjsunit/binary-op-newspace.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698