summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/jaeger/bug649593.js
blob: 9d878d4a287ecb479562e32f85c0d97c619d6382 (plain)
1
2
3
4
5
6
7
8
9
10
function RunSingleBenchmark(data) {
    if (data == null)
        return { runs: 0, elapsed: 0 };
    data.runs += 10;
    return data;
}
var data;
data = RunSingleBenchmark(data);
data = RunSingleBenchmark(data);
assertEq(data.runs, 10);