diff options
| author | 2023-06-22 20:17:21 +0200 | |
|---|---|---|
| committer | 2023-06-22 20:17:21 +0200 | |
| commit | 8245dfa2d5c6e074d577d756f40243cd2c0363c7 (patch) | |
| tree | c1901de6cc85a9ecec8cc9f86df647779c1a1b14 /ir.h | |
| parent | 3f2221dfb9ab33b7ac44bbf822a78753a0357d25 (diff) | |
misc fix
Diffstat (limited to 'ir.h')
| -rw-r--r-- | ir.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -228,9 +228,10 @@ union ref mkaddr(struct addr); void adduse(struct block *ublk, int ui, union ref r); union ref insertinstr(struct block *, int idx, struct instr); union ref insertphi(struct block *, enum irclass cls); -void replcins(union ref from, union ref to); +void replcuses(union ref from, union ref to); void deluses(int ins); void delinstr(struct block *, int idx); +void delphi(struct block *, int idx); #define blkpred(blk, i) 0[(blk)->npred < 2 ? &(blk)->_pred0 : &(blk)->_pred[i]] /* IR builder functions */ |