js/src/jit-test/tests/jaeger/bug819035.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 // This test case check the difference between fp->callee() and fp->fun() on
     2 // lambdas.
     3 (function (a, u) {
     4   var sum = function (array, callback) {
     5     for (var i = 0; i < array.length; i++)
     6       callback(array[i]);
     7   };
     8   (function () {
     9     (function r(t) {
    10        t !== u,
    11          sum(t, function (v)  r(v) );
    12     })(arguments);
    13   })(a);
    14 }) (
    15     [
    16         [
    17             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    18             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    19             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    20             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    21             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    22             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    23             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    24             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    25             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1]
    26         ], [
    27             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    28             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    29             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    30             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    31             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    32             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    33             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    34             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1],
    35             [1], [1], [1], [1], [1], [1], [1], [1], [1], [1]
    36         ]
    37     ]
    38 );

mercurial