summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1196648.js
blob: 315633a538114e026aa3acf73e37b73870ec36fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
h = function(m, foreign, n) {
    "use asm";
    var ff = foreign.ff;
    function f(x) {
        x = +x;
        ff();
    }
    return f;
}(0, {
    ff: function() {
        return {
            e: String.prototype.substring
        };
    }
}, 0);
for (var k = 0; k < 999; k++) {
    h();
}