summaryrefslogtreecommitdiffhomepage
path: root/ir/be/begnuas.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-09-07 04:48:41 +0200
committerMatthias Braun <matze@braunis.de>2015-09-07 05:53:55 +0200
commitbb1e3f1e863778b4c87a8278becd4135c084d4ad (patch)
treea46ce11c1336fd2ca60565985a7aadabe66f599e /ir/be/begnuas.h
parentaba0611e4da95653d446873e33f1f80599a7e356 (diff)
begnuas/i32: properly emit jump tables in PIC mode
Diffstat (limited to 'ir/be/begnuas.h')
-rw-r--r--ir/be/begnuas.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/begnuas.h b/ir/be/begnuas.h
index e1fb367..0697b31 100644
--- a/ir/be/begnuas.h
+++ b/ir/be/begnuas.h
@@ -123,14 +123,14 @@ void be_gas_end_compilation_unit(const be_main_env_t *env);
*/
const char *be_gas_insn_label_prefix(void);
-typedef ir_node* (*get_cfop_target_func)(const ir_node *cfop);
+typedef void (*emit_target_func)(ir_entity const *table, ir_node const *proj_x);
/**
* Emits a jump table for switch operations
*/
void be_emit_jump_table(const ir_node *node, const ir_switch_table *table,
- ir_entity *entity,
- get_cfop_target_func get_cfop_target);
+ ir_entity const *entity,
+ emit_target_func get_cfop_target);
bool be_gas_produces_dwarf_line_info(void);