summaryrefslogtreecommitdiffhomepage
path: root/ir/be/amd64
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-04-01 21:16:08 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-04-02 10:20:38 +0200
commit7164d2a6bddd2f832fa5b89a33f7580557102449 (patch)
tree0a71b800f3dac3f0a13782c67727297ecbf24eef /ir/be/amd64
parent0b6a4b90a738a57a4ea5ccc5eeddb48e31396657 (diff)
be: Handle '%s' centrally in BE_EMITF().
Diffstat (limited to 'ir/be/amd64')
-rw-r--r--ir/be/amd64/amd64_emitter.c6
-rw-r--r--ir/be/amd64/amd64_emitter.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/ir/be/amd64/amd64_emitter.c b/ir/be/amd64/amd64_emitter.c
index 0284fe7..a9f530a 100644
--- a/ir/be/amd64/amd64_emitter.c
+++ b/ir/be/amd64/amd64_emitter.c
@@ -483,12 +483,6 @@ emit_R:
break;
}
- case 's': {
- char const *const str = va_arg(ap, char const*);
- be_emit_string(str);
- break;
- }
-
case 'u': {
unsigned const num = va_arg(ap, unsigned);
be_emit_irprintf("%u", num);
diff --git a/ir/be/amd64/amd64_emitter.h b/ir/be/amd64/amd64_emitter.h
index bfcb4b4..79b89c4 100644
--- a/ir/be/amd64/amd64_emitter.h
+++ b/ir/be/amd64/amd64_emitter.h
@@ -22,7 +22,6 @@
* %O <node> offset
* %R arch_register_t const* register
* %Sx <node> source register x
- * %s char const* string
* %u unsigned int unsigned int
*
* x starts at 0