diff options
| author | Roland Paterson-Jones <[email protected]> | 2024-11-19 11:29:16 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2025-03-14 09:47:05 +0100 |
| commit | 9e36cbe4d8f8c9ff3d739ff9ead2a4a4988c0904 (patch) | |
| tree | 733105ea25be975c2d1c6db38a0f540b5f681507 /all.h | |
| parent | ecfdac4f00a81dd57ffcbe11142e8619b1f2ee67 (diff) | |
Combine fillrpo() and fillpreds() into fillcfg().
Remove edgedel() calls from fillrpo().
Call new prunephis() from fillpreds().
[Curiously this never seems to do anything even tho edgedel()
is no longer called from fillrpo()]
One remaining fillpreds() call in parse.c typecheck - seems
like it will still work the same.
defensive; fillcfg() combining fillrpo() and fillpreds() - problem after simpljmp() - think it is cos fillrpo() is still doing edgedel() which should now be covered by fillpreds()
comment out edgedel() in fillrpo() - fillcfg() no longer asserts after simpljmp() but seems like prunephis() never triggers???
static fillrpo(); remove edgedel() from fillrpo()
replace fillrpo() and/or fillpreds() with fillcfg()
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -527,7 +527,7 @@ void elimsb(Fn *); Blk *newblk(void); void edgedel(Blk *, Blk **); void fillpreds(Fn *); -void fillrpo(Fn *); +void fillcfg(Fn *); void filldom(Fn *); int sdom(Blk *, Blk *); int dom(Blk *, Blk *); |
