summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/relazify.js
blob: 01e7dcd496887bb2bc57e536d633abfcbecc2788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function f(x) {
    return x * 3;
}
for (var i=0; i<100; i++) {
    f(i);
}
relazifyFunctions();

f(1);
f(1);

relazifyFunctions();

for (var i=0; i<10; i++) {
    f.call(null, i);
}