summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-10-31 09:47:56 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-10-31 09:47:56 +0100
commit05f29a7b377d358c4e0d791835e5b0fe18f04797 (patch)
tree6c53cd3606caadfa5474b540f21315f66a2ae0b1 /ir/be/beemitter.h
parent37b1db4c7ea68ba8511fda54a9de58e2ac4ba02a (diff)
be: Move BE_EMITF() from 'beemitter.h' to 'beemithlp.h'.
Diffstat (limited to 'ir/be/beemitter.h')
-rw-r--r--ir/be/beemitter.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/ir/be/beemitter.h b/ir/be/beemitter.h
index f7833a9..d5f7ce0 100644
--- a/ir/be/beemitter.h
+++ b/ir/be/beemitter.h
@@ -96,25 +96,4 @@ static inline size_t be_emit_get_column(void)
return obstack_object_size(&emit_obst);
}
-#define BE_EMITF(node, fmt, ap, in_delay_slot) \
- va_list ap; \
- va_start(ap, fmt); \
- be_emit_char('\t'); \
- if (in_delay_slot) \
- be_emit_char(' '); \
- for (size_t node##__n;;) \
- if (node##__n = strcspn(fmt, "\n%"), be_emit_string_len(fmt, node##__n), fmt += node##__n, *fmt == '\0') { \
- be_emit_finish_line_gas(node); \
- va_end(ap); \
- break; \
- } else if (*fmt == '\n') { \
- ++fmt; \
- be_emit_char('\n'); \
- be_emit_write_line(); \
- be_emit_char('\t'); \
- } else if (*++fmt == '%') { \
- ++fmt; \
- be_emit_char('%'); \
- } else
-
#endif