method for jmp,call and return checking at commit stage