summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1702465.js
blob: 5143b52ab703c9da1b999aea8121f05382504d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function foo() {
    if (arguments[0]) {
        return arguments[1];
    }
}

with ({}) {}
for (var i = 0; i < 100; i++) {
    foo(true, 1);
}

for (var i = 0; i < 100; i++) {
    foo(false);
}