diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-18 19:34:18 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-18 19:34:18 +0300 |
| commit | cdbe058f69f1db9c552e1b4a1ec5f94c12fc48a2 (patch) | |
| tree | 0935dd3d99b393d16d428ad80b4216105eb4009c /src | |
| parent | 3923d1c69139a0968957cb5aa9b0a44abf378a53 (diff) | |
| download | qbt-cdbe058f69f1db9c552e1b4a1ec5f94c12fc48a2.tar.gz qbt-cdbe058f69f1db9c552e1b4a1ec5f94c12fc48a2.zip | |
missed a NULL check
+ Thought I had checked this but must've been mistaken.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ssa.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,11 +198,13 @@ top: goto top; } + if (b->s1) foreach_blk_param(pi, b->s1->params) { struct val p = blk_param_at(b->s1->params, pi); vec_append(&b->args1, &p); } + if (b->s2) foreach_blk_param(pi, b->s2->params) { struct val p = blk_param_at(b->s2->params, pi); vec_append(&b->args2, &p); |
