summaryrefslogtreecommitdiff
path: root/6/gen.c
diff options
context:
space:
mode:
Diffstat (limited to '6/gen.c')
-rw-r--r--6/gen.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/6/gen.c b/6/gen.c
index 76d15f5..285b2d2 100644
--- a/6/gen.c
+++ b/6/gen.c
@@ -24,22 +24,6 @@ static int islocal(Node *dcl)
return 1;
}
-static int nextlbl;
-char *genlocallblstr(char *buf, size_t sz)
-{
- if (asmsyntax == Plan9)
- snprintf(buf, 128, ".L%d<>", nextlbl++);
- else
- snprintf(buf, 128, ".L%d", nextlbl++);
- return buf;
-}
-
-char *genlblstr(char *buf, size_t sz)
-{
- snprintf(buf, 128, ".L%d", nextlbl++);
- return buf;
-}
-
/*
* For x86, the assembly names are generated as follows:
* local symbols: .name