Add gen_jmp back
Use global state in label resolution