js/src/jit-test/tests/auto-regress/bug779390.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug779390.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +// Binary: cache/js-dbg-64-b46621aba6fd-linux
     1.5 +// Flags: --ion-eager
     1.6 +//
     1.7 +
     1.8 +function TestCase(n, d, e, a) {
     1.9 +  this.passed = getTestCaseResult(e, a);
    1.10 +}
    1.11 +function getTestCaseResult(expected, actual) {}
    1.12 +try {
    1.13 +for (var i = 0; i < bomchars.length; i++)
    1.14 +  try {} catch(ex) {}
    1.15 +} catch(exc0) {}
    1.16 +["a"].map(function(s) {gczeal(4);})[0]
    1.17 +new TestCase();
    1.18 +new TestCase("", "", 5e-324, i);

mercurial