re-enabled blocking argument check

This commit is contained in:
Shane M. Clements 2014-05-20 10:55:27 -06:00
parent 4b517cf8c1
commit dee48521dc

View file

@ -282,11 +282,11 @@ public class Interpreter {
else b.opFunction = (primTable[op] == undefined) ? primNoop : primTable[op];
}
// TODO: Optimize this into a cached check if the args *could* block at all
// if(b.args.length && checkBlockingArgs(b)) {
// doYield();
// return null;
// }
// TODO: Optimize this into a cached check if the args *could* block at all
if(b.args.length && checkBlockingArgs(b)) {
doYield();
return null;
}
// Debug code
if(debugFunc != null)