summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.c
diff options
context:
space:
mode:
authorMatthias Braun <matthias.braun@kit.edu>2012-05-10 19:07:42 +0200
committerMatthias Braun <matthias.braun@kit.edu>2012-05-10 19:53:07 +0200
commitbc4068b97f60a9b308f0a7633437db1a69a34d47 (patch)
tree4aaf092b8e632aeaf7b2f0dd952ccf93034b2817 /ir/be/beemitter.c
parent0e8bab6c4ca415a8ae23dd1e32ff0249a29d9e8c (diff)
remove buffer restriction in be_emit_irprintf
Diffstat (limited to 'ir/be/beemitter.c')
-rw-r--r--ir/be/beemitter.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/beemitter.c b/ir/be/beemitter.c
index ae35cfb..f4f0449 100644
--- a/ir/be/beemitter.c
+++ b/ir/be/beemitter.c
@@ -64,10 +64,7 @@ void be_emit_tarval(ir_tarval *tv)
void be_emit_irvprintf(const char *fmt, va_list args)
{
- char buf[256];
-
- ir_vsnprintf(buf, sizeof(buf), fmt, args);
- be_emit_string(buf);
+ ir_obst_vprintf(&emit_obst, fmt, args);
}
void be_emit_irprintf(const char *fmt, ...)