Skip to content

Commit

Permalink
Dump jmp appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
shinh committed Dec 27, 2016
1 parent 00fbfd8 commit b26eaea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ir/ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ void dump_inst_fp(Inst* inst, FILE* fp) {
dump_val(&inst->src, fp);
break;
case JMP:
fprintf(fp, " ");
dump_val(&inst->jmp, fp);
break;
default:
fprintf(fp, "oops op=%d\n", inst->op);
Expand Down

0 comments on commit b26eaea

Please sign in to comment.