diff options
| author | Quentin Carbonneaux <[email protected]> | 2023-03-22 11:43:42 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2023-03-22 11:43:46 +0100 |
| commit | 5fee3da6ac3b4995f0d9a6cef3a5e916208cca59 (patch) | |
| tree | 84befbce5a3a2422792aa32db54e474f9e724aae /cfg.c | |
| parent | eb9fcece9e622712a60ad306ae83f4ac4a2a3571 (diff) | |
rename blknew() to newblk()
This is consistent with newtmp()
and newcon().
Diffstat (limited to 'cfg.c')
| -rw-r--r-- | cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #include "all.h" Blk * -blknew() +newblk() { static Blk z; Blk *b; @@ -299,7 +299,7 @@ simpljmp(Fn *fn) Blk **uf; /* union-find */ Blk **p, *b, *ret; - ret = blknew(); + ret = newblk(); ret->id = fn->nblk++; ret->jmp.type = Jret0; uf = emalloc(fn->nblk * sizeof uf[0]); |
