Debian Codegraph @

js/src/jit-test/tests/ion/bug1113139.js

raw
1 var lfcode = new Array();
2 lfcode.push = function(x) { eval("(function() { " + x + " })();"); };
3 lfcode.push("\
4 function error(str) { try { eval(str); } catch (e) { return e; } }\
5 const YIELD_PAREN = error('(function*(){(for (y of (yield 1, 2)) y)})').message;\
6 const GENEXP_YIELD = error('(function*(){(for (x of yield 1) x)})').message;\
7 const GENERIC = error('(for)').message;\
8 const eval = [];\
9 ");