summaryrefslogtreecommitdiff
path: root/opt/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'opt/df.c')
-rw-r--r--opt/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opt/df.c b/opt/df.c
index 08b864c..890e1e6 100644
--- a/opt/df.c
+++ b/opt/df.c
@@ -40,7 +40,7 @@ int addnode(Cfg *cfg, Bb *bb, Node *n)
case Ocjmp:
lappend(&bb->nl, &bb->nnl, n);
lappend(&cfg->fixjmp, &cfg->nfixjmp, n);
- lappend(&cfg->fixblk, &cfg->nfixblk, n);
+ lappend(&cfg->fixblk, &cfg->nfixblk, bb);
return 1;
break;
default:
@@ -56,7 +56,7 @@ Cfg *mkcfg(Node **nl, int nn)
Bb *bb, *targ;
Node *a, *b;
int i;
-
+
cfg = zalloc(sizeof(Cfg));
cfg->lblmap = mkht(strhash, streq);
bb = mkbb(cfg);