summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-12-06 11:05:35 +0100
committerMatthias Braun <matze@braunis.de>2015-12-06 11:07:07 +0100
commit39c217a5d2309c3bf1f4e0980b2cb4b83c281dd6 (patch)
treecfbf6587651ca1937588f433355acd8bdc1f30b1 /ir/ana
parentb921e546fd79aade3a3d0efed2126cc7813f2cce (diff)
Cleanup: match declaration
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/irmemory.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c
index 0112947..09cc15f 100644
--- a/ir/ana/irmemory.c
+++ b/ir/ana/irmemory.c
@@ -49,7 +49,8 @@ const char *get_ir_alias_relation_name(ir_alias_relation rel)
panic("unknown alias relation");
}
-unsigned get_irg_memory_disambiguator_options(const ir_graph *irg)
+ir_disambiguator_options get_irg_memory_disambiguator_options(
+ ir_graph const *const irg)
{
unsigned opt = irg->mem_disambig_opt;
if (opt & aa_opt_inherited)
@@ -57,12 +58,13 @@ unsigned get_irg_memory_disambiguator_options(const ir_graph *irg)
return opt;
}
-void set_irg_memory_disambiguator_options(ir_graph *irg, unsigned options)
+void set_irg_memory_disambiguator_options(ir_graph *irg,
+ ir_disambiguator_options options)
{
irg->mem_disambig_opt = options & ~aa_opt_inherited;
}
-void set_irp_memory_disambiguator_options(unsigned options)
+void set_irp_memory_disambiguator_options(ir_disambiguator_options options)
{
global_mem_disamgig_opt = options;
}