Now logs opcodes for static functions as well