1 2 3 4 5 6 7 8 9 10 11 12
function g(code) { f = Function(code); for (a in f()) {} } /* Get call ic in a state to call CompileFunction for new functions. */ g() g("(function(){})") g() /* Call generator with frame created by call ic + CompileFunction. */ g("yield")