summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/for-of/bug-1341339.js
blob: 1f88acdafaa58e81731eb74bbc458dcb279cfd6d (plain)
1
2
3
4
5
6
7
8
9
let m = parseModule(`
function* values() {}
var iterator = values();
for (var i=0; i < 10000; ++i) {
    for (var x of iterator) {}
}
`);
m.declarationInstantiation();
m.evaluation();