- mostly implemented access to outer frame variables, however offset, is wrong yet
[libfirm] / ir / be / beemitter.h
index 0d66d10..4211382 100644 (file)
@@ -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;
 }
 
 /**
@@ -83,7 +80,7 @@ static inline void be_emit_string(const char *str)
  * @param str  the null-terminated string constant
  */
 #define be_emit_cstring(str) \
-       do { be_emit_string_len(str, sizeof(str)-1); } while(0)
+       be_emit_string_len(str, sizeof(str) - 1)
 
 /**
  * Initializes an emitter environment.