summaryrefslogtreecommitdiffhomepage
path: root/ir/be/begnuas.h
diff options
context:
space:
mode:
authorMatthias Braun <matthias.braun@kit.edu>2012-06-06 11:12:46 +0200
committerMatthias Braun <matthias.braun@kit.edu>2012-06-06 12:41:03 +0200
commit79adebd5f38d1e70a802150318da81bb3299de3a (patch)
tree04430d9b57d944113dc0c6c67f137d2476e7ad6b /ir/be/begnuas.h
parent381cf8f2c9b564356058b2390567e3bc1602131d (diff)
be: introduce verboseasm flag (enabled by default)
Also factor out code that emits the label and comment at the beginning of a basic block.
Diffstat (limited to 'ir/be/begnuas.h')
-rw-r--r--ir/be/begnuas.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/begnuas.h b/ir/be/begnuas.h
index 43aa2e4..9f0bd08 100644
--- a/ir/be/begnuas.h
+++ b/ir/be/begnuas.h
@@ -108,6 +108,12 @@ void be_gas_emit_entity(const ir_entity *entity);
void be_gas_emit_block_name(const ir_node *block);
/**
+ * Starts a basic block. Emits an assembler label "blockname:" if needs_label
+ * is true, otherwise a comment with the blockname if verboseasm is enabled.
+ */
+void be_gas_begin_block(const ir_node *block, bool needs_label);
+
+/**
* Starts emitting a compilation unit. This emits:
* - global assembler snippets
* - debug info