summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-11-15 18:17:19 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2008-11-15 18:17:19 +0100
commitb70eb7b76bac3ee3e8c8b9c1789f97e0dc2c8023 (patch)
treea60ff89b15995dfce5edd666140814cc38eb35e7 /ir/be/beemitter.h
parentf2a3afa4ca3714bbb62f378a67f2291a71d7b8e5 (diff)
Remove emit_linelength. The obstack knows its length.
[r23687]
Diffstat (limited to 'ir/be/beemitter.h')
-rw-r--r--ir/be/beemitter.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ir/be/beemitter.h b/ir/be/beemitter.h
index 0d66d10..9e34c4a 100644
--- a/ir/be/beemitter.h
+++ b/ir/be/beemitter.h
@@ -38,7 +38,6 @@
/* don't use the following vars directly, they're only here for the inlines */
extern FILE *emit_file;
extern struct obstack emit_obst;
-extern int emit_linelength;
/**
* Emit a character to the (assembler) output.
@@ -48,7 +47,6 @@ extern int emit_linelength;
static inline void be_emit_char(char c)
{
obstack_1grow(&emit_obst, c);
- emit_linelength++;
}
/**
@@ -61,7 +59,6 @@ static inline void be_emit_char(char c)
static inline void be_emit_string_len(const char *str, size_t l)
{
obstack_grow(&emit_obst, str, l);
- emit_linelength += l;
}
/**