summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/force-warp.js
blob: b875fc0471e0fa0ba795dc28dcc5d583529f7b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
// A simple test to ensure WarpBuilder files are included in code-coverage builds.
// See bug 1635097.

function test() {
    var o = {x: 0};
    for (var i = 0; i < 10000; i++) {
        o.x++;
    }
    return o;
}
test();