diff options
| -rw-r--r-- | ir/abi0.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -400,6 +400,7 @@ abi0(struct function *fn) } blk = fn->entry->lnext; + int id = 1; do { /* adjust vaargs and calls */ for (int iinstr = 0; iinstr < blk->ins.n; ++iinstr) { @@ -431,9 +432,9 @@ abi0(struct function *fn) else memset(blk->jmp.arg, 0, sizeof blk->jmp.arg); } } + blk->id = id++; } while ((blk = blk->lnext) != fn->entry); - sortrpo(fn); if (ccopt.dbg.a) { efmt("<< After abi0 >>\n"); irdump(fn); |