nqp: refactor mop of compiler