move CatchInfo from ir.h to code-gen.h