please include function emit. static L getEmits(Runnable r) { new L l; temp tempSetThreadLocal(emit_tl, l); temp tempSetOptMC(emit_print, false); callF(r); ret l; }