summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-04-15 14:41:13 +0200
committerMatthias Braun <matze@braunis.de>2011-04-15 16:11:26 +0200
commitc0da9e550b467a372fe0733724784b0f323c33f5 (patch)
tree4952856516e60c4939202d9da37758d59a7a2b3c
parent623357f452a586c7fe8ece9cc71220342a528ad7 (diff)
fix mismatched decl/implementationlibfirm-1.19.0
-rw-r--r--ir/ir/irnode.c4
-rw-r--r--ir/ir/iropt.c4
-rw-r--r--ir/ir/irverify.c2
-rw-r--r--ir/opt/reassoc.c2
-rw-r--r--ir/stat/firmstat.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/ir/ir/irnode.c b/ir/ir/irnode.c
index 2491828..f995785 100644
--- a/ir/ir/irnode.c
+++ b/ir/ir/irnode.c
@@ -1631,7 +1631,7 @@ static ir_type *get_Null_type(const ir_node *n)
}
/* Sets the get_type operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_get_type_attr(ir_opcode code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_get_type_attr(unsigned code, ir_op_ops *ops)
{
switch (code) {
case iro_SymConst: ops->get_type_attr = get_SymConst_attr_type; break;
@@ -1656,7 +1656,7 @@ static ir_entity *get_Null_ent(const ir_node *n)
}
/* Sets the get_type operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_get_entity_attr(ir_opcode code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_get_entity_attr(unsigned code, ir_op_ops *ops)
{
switch (code) {
case iro_SymConst: ops->get_entity_attr = get_SymConst_attr_entity; break;
diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c
index a201855..84f5079 100644
--- a/ir/ir/iropt.c
+++ b/ir/ir/iropt.c
@@ -6626,7 +6626,7 @@ static unsigned hash_SymConst(const ir_node *node)
* @return
* The operations.
*/
-static ir_op_ops *firm_set_default_hash(ir_opcode code, ir_op_ops *ops)
+static ir_op_ops *firm_set_default_hash(unsigned code, ir_op_ops *ops)
{
#define CASE(a) \
case iro_##a: \
@@ -6652,7 +6652,7 @@ static ir_op_ops *firm_set_default_hash(ir_opcode code, ir_op_ops *ops)
/*
* Sets the default operation for an ir_ops.
*/
-ir_op_ops *firm_set_default_operations(ir_opcode code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_operations(unsigned code, ir_op_ops *ops)
{
ops = firm_set_default_hash(code, ops);
ops = firm_set_default_computed_value(code, ops);
diff --git a/ir/ir/irverify.c b/ir/ir/irverify.c
index 18d91d2..c093b92 100644
--- a/ir/ir/irverify.c
+++ b/ir/ir/irverify.c
@@ -2051,7 +2051,7 @@ int irg_verify_bads(ir_graph *irg, int flags)
/*
* set the default verify operation
*/
-void firm_set_default_verifyer(ir_opcode code, ir_op_ops *ops)
+void firm_set_default_verifier(unsigned code, ir_op_ops *ops)
{
#define CASE(a) \
case iro_##a: \
diff --git a/ir/opt/reassoc.c b/ir/opt/reassoc.c
index ca67034..be6230c 100644
--- a/ir/opt/reassoc.c
+++ b/ir/opt/reassoc.c
@@ -1004,7 +1004,7 @@ ir_graph_pass_t *optimize_reassociation_pass(const char *name)
} /* optimize_reassociation_pass */
/* Sets the default reassociation operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_reassoc(ir_opcode code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_reassoc(unsigned code, ir_op_ops *ops)
{
#define CASE(a) case iro_##a: ops->reassociate = reassoc_##a; break
diff --git a/ir/stat/firmstat.c b/ir/stat/firmstat.c
index 71b5564..03a4bad 100644
--- a/ir/stat/firmstat.c
+++ b/ir/stat/firmstat.c
@@ -1429,7 +1429,7 @@ void stat_register_dumper_func(dump_graph_FUNC func)
/*
* Helper: get an ir_op from an opcode.
*/
-ir_op *stat_get_op_from_opcode(ir_opcode code)
+ir_op *stat_get_op_from_opcode(unsigned code)
{
return opcode_find_entry(code, status->ir_op_hash);
} /* stat_get_op_from_opcode */