summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-12-26 16:22:33 -0800
committerOri Bernstein <ori@eigenstate.org>2014-12-26 16:22:33 -0800
commit13e55845018e40a4e943891a2cb371bc2a9cd572 (patch)
tree4816c4328912f57379021fda31f1c76afc7f9fdc /6/asm.h
parent14f1055a8f6709a4740ae23cde2e72e45327fcfc (diff)
downloadmc-13e55845018e40a4e943891a2cb371bc2a9cd572.tar.gz
Handle localness of labels a bit differently.
use asmname() more liberally. it does the right thign.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/6/asm.h b/6/asm.h
index 7506db0..c228a04 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -210,8 +210,8 @@ void genp9(Node *file, char *out);
extern size_t maxregid;
extern Loc **locmap; /* mapping from reg id => Loc * */
-char *gendatalbl(char *buf, size_t sz);
-char *genjmplbl(char *buf, size_t sz);
+char *genlocallblstr(char *buf, size_t sz);
+char *genlblstr(char *buf, size_t sz);
Node *genlbl(Srcloc loc);
Loc *loclbl(Node *lbl);
Loc *locstrlbl(char *lbl);