diff options
| author | 2026-01-09 21:56:26 +0100 | |
|---|---|---|
| committer | 2026-01-09 21:56:26 +0100 | |
| commit | fbfaec4b5146553c117787947eb81da43271ed74 (patch) | |
| tree | acb194791a47d4dfa44141141a7c011debae0289 | |
| parent | bef7d9b99e3300ecbf6d530b6dbf0709bff60973 (diff) | |
ir/simpl: stub out some code that wasn't properly tested and broken
I'll figure it out later, but I better not have a broken trunk
| -rw-r--r-- | ir/simpl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -260,6 +260,7 @@ simpl(struct function *fn) inschange += ins(&instrtab[blk->ins.p[curi]], blk, &curi); } +#if 0 // FIXME if (blk->s2 && isintcon(blk->jmp.arg[0])) { /* simplify known conditional branch */ struct block *s = intconval(blk->jmp.arg[0]) ? blk->s1 : blk->s2; @@ -274,6 +275,7 @@ simpl(struct function *fn) } goto DoIns; } +#endif /* thread jumps.. */ if (!blk->phi.n && !blk->ins.n) { |