js/src/jit-test/tests/basic/bug720675.js

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 // |jit-test| allow-oom;
michael@0 2
michael@0 3 gcparam("maxBytes", gcparam("gcBytes") + 4*1024);
michael@0 4 arr = [1e0, 5e1, 9e19, 0.1e20, 1.3e20, 1e20, 9e20, 9.99e20,
michael@0 5 0.1e21, 1e21, 1e21+65537, 1e21+65536, 1e21-65536, 1];
michael@0 6 for (var i = 0; i < 4000; i++) {
michael@0 7 arr.push(1e19 + i*1e19);
michael@0 8 }
michael@0 9 for (var i in arr) {}

mercurial