summaryrefslogtreecommitdiffhomepage
path: root/ir/be/begnuas.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-02-08 04:58:42 +0100
committerMatthias Braun <matze@braunis.de>2016-02-08 05:00:27 +0100
commita6aacda304195e4097a0fa120baab462abcbaa83 (patch)
treec45be0be89226b181fd08a0aa8f69e46738bc793 /ir/be/begnuas.h
parentfeb0f2ad5a8d87dd82179919b40ef2f621b4b231 (diff)
beemitter: Move helper function to beemithlp
Only keep the basics necessary to emit text lines in beemitter.[ch] and move all the other convenience stuff to beemithlp.[ch].
Diffstat (limited to 'ir/be/begnuas.h')
-rw-r--r--ir/be/begnuas.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ir/be/begnuas.h b/ir/be/begnuas.h
index 604daa7..67cfd52 100644
--- a/ir/be/begnuas.h
+++ b/ir/be/begnuas.h
@@ -14,7 +14,6 @@
#include <stdbool.h>
#include "be_types.h"
-#include "beemitter.h"
#include "bedwarf.h"
typedef enum {
@@ -132,4 +131,12 @@ void be_emit_jump_table(const ir_node *node, const ir_switch_table *table,
bool be_gas_produces_dwarf_line_info(void);
+/**
+ * Flush the line in the current line buffer to the emitter file and
+ * appends a gas-style comment with the node number and writes the line
+ *
+ * @param node the node to get the debug info from
+ */
+void be_emit_finish_line_gas(const ir_node *node);
+
#endif