compiler::stat: new parameter eval_true; also some bugfixes