bearch: Dump the output requirement and the assigned register in the same line for...
[libfirm] / ir / be / beemitter.c
index efa3a80..a08461d 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 
 #include "beemitter.h"
+#include "be_t.h"
 #include "irnode_t.h"
 #include "irprintf.h"
 #include "ident.h"
@@ -46,14 +47,6 @@ void be_emit_exit(void)
        obstack_free(&emit_obst, NULL);
 }
 
-void be_emit_ident(ident *id)
-{
-       size_t      len = get_id_strlen(id);
-       const char *str = get_id_str(id);
-
-       be_emit_string_len(str, len);
-}
-
 void be_emit_irvprintf(const char *fmt, va_list args)
 {
        ir_obst_vprintf(&emit_obst, fmt, args);
@@ -88,10 +81,10 @@ void be_emit_pad_comment(void)
 
 void be_emit_finish_line_gas(const ir_node *node)
 {
-       dbg_info   *dbg;
-       src_loc_t   loc;
+       dbg_info  *dbg;
+       src_loc_t  loc;
 
-       if (node == NULL) {
+       if (node == NULL || !be_options.verbose_asm) {
                be_emit_char('\n');
                be_emit_write_line();
                return;