diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-25 14:47:39 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-25 14:47:39 +0200 |
commit | 6056525ced07af6c6c4f48ea605a2f4589821fdf (patch) | |
tree | 82643cc93120a04d160a819c951385225daf676d /js/src/jit-test | |
parent | 4ee42e38e0a490eb4880b4a260e3cbe07dd486d1 (diff) | |
download | UXP-6056525ced07af6c6c4f48ea605a2f4589821fdf.tar UXP-6056525ced07af6c6c4f48ea605a2f4589821fdf.tar.gz UXP-6056525ced07af6c6c4f48ea605a2f4589821fdf.tar.lz UXP-6056525ced07af6c6c4f48ea605a2f4589821fdf.tar.xz UXP-6056525ced07af6c6c4f48ea605a2f4589821fdf.zip |
Bug 1341339 - Check for duplicates in processIterators
Issue #74
Diffstat (limited to 'js/src/jit-test')
-rw-r--r-- | js/src/jit-test/tests/for-of/bug-1341339.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/for-of/bug-1341339.js b/js/src/jit-test/tests/for-of/bug-1341339.js new file mode 100644 index 000000000..1f88acdaf --- /dev/null +++ b/js/src/jit-test/tests/for-of/bug-1341339.js @@ -0,0 +1,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(); |