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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 // |jit-test| slow;
     3 function TestCase(n, d, e, a) {}
     4 var lfcode = new Array();
     5 lfcode.push("");
     6 lfcode.push("\
     7   var summary = 'foo';\
     8   test();\
     9   function test() {\
    10     test(\"TEST-UNEXPECTED-FAIL | TestPerf | \" + summary);\
    11   }\
    12 ");
    13 lfcode.push("gczeal(2);");
    14 lfcode.push("\
    15   new TestCase(TestFunction_3( \"P\", \"A\", \"S\", \"S\" ) +\"\");\
    16   new TestCase(TestFunction_4( \"F\", \"A\", (\"length\"), \"L\" ) +\"\");\
    17   function TestFunction_3( a, b, c, d, e ) {\
    18     TestFunction_3(arguments);\
    19   }\
    20 ");
    21 while (true) {
    22         var file = lfcode.shift(); if (file == undefined) { break; }
    23         try { evaluate(file); } catch (lfVare) {}
    24 }

mercurial