summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1264948-1.js
blob: 1070275dce1d4dfec6c528e5d4deff080b47b631 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: ReferenceError

var N = 70 * 1000;
var x = build("&&")();
function build(operation) {
    var a = [];
    for (var i = 1; i != N - 1; ++i) a.push("f()");
    return new Function(a.join(operation));
}