summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1345160.js
blob: e365ea3158d395cb3a3f59d77941ab0093b275f4 (plain)
1
2
3
4
5
6
7
8
9
function f() {
    var o = [1, 2, 3];
    o.constructor = function() {
      return new Uint8Array(3);
    };
    for (var i=0; i<10; i++)
        o.filter(x => true);
}
f();