summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-26 16:56:14 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-26 16:56:14 -0800
commit37851f1670b9022625f90b6c5412acf212618a05 (patch)
tree0aea377b7a98c524752406e41effe9f2e1913580 /mi
parent6e5b64b5b225a3a491cc07dbb6f300bd4a5994b2 (diff)
downloadmc-37851f1670b9022625f90b6c5412acf212618a05.tar.gz
Fix some generated asm for plan9.
Diffstat (limited to 'mi')
-rw-r--r--mi/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/cfg.c b/mi/cfg.c
index 2009960..5405cd4 100644
--- a/mi/cfg.c
+++ b/mi/cfg.c
@@ -215,7 +215,7 @@ Cfg *mkcfg(Node *fn, Node **nl, size_t nn)
}
}
post = mkbb(cfg);
- bprintf(buf, sizeof buf, ".Lret.%d", nextret++);
+ bprintf(buf, sizeof buf, ".Lret%d", nextret++);
label(cfg, mklbl(fn->loc, buf), post);
cfg->start = pre;