do not use current_ir_graph in irdump.c