summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/pgo-bug1252120.js
blob: 100fbfd34a333ac69155476d2ac3f07c571f8936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| --ion-pgo=on;

target = handler = {}
for (p of[new Proxy(target, handler)])
  evaluate("foo()");
function foo() {
    symbols = [Symbol]
    values = [NaN]
    for (comparator of[""])
        for (b of values) assertEq;
    for (comparator of[""])
        for (a of symbols)
            for (b of values) assertEq;
}