summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1607670-2.js
blob: 9488fbf3ca793f07a1a43e4bd7939ae77fdad60c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function inner(X, T) {
    return Reflect.construct(X, [], T);
}
function F() {}

let handler = {};
let P = new Proxy(F, handler);

for (var i = 0; i < 2000; i += 1) {
    with ({}) {}
    inner(F, P);
}

handler.get = function() {}
inner(F, P);