diff options
| author | 2023-06-06 15:08:46 +0200 | |
|---|---|---|
| committer | 2023-06-06 15:08:46 +0200 | |
| commit | 86625b1166bd39e28b4dd4995ed6cd88c0bdde7e (patch) | |
| tree | 2bfd67ddc7e3b4bb4c4a3d951dfc80fac7c4bad3 /ir.c | |
| parent | 3388975ee3a0814e9c95863035ab0d122174c549 (diff) | |
codegen skeleton
Diffstat (limited to 'ir.c')
| -rw-r--r-- | ir.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ uchar type2cls[NTYPETAG]; uchar cls2siz[KF8+1]; const uchar siz2intcls[] = { [1] = KI4, [2] = KI4, [4] = KI4, [8] = KI8 }; -struct instr instrtab[1<<14]; +struct instr instrtab[MAXINSTR]; static int ninstr; static int instrfreelist; struct calltab calltab; @@ -375,6 +375,7 @@ irfini(struct function *fn) if (!nerror) { abi0(fn); regalloc(fn); + mctarg->emit(fn); } freefn(fn); |