Commit 660e685d authored by Michael Beck's avatar Michael Beck
Browse files

Fixed function naming

[r3406]
parent eb69bf60
......@@ -935,14 +935,14 @@ void set_SymConst_entity (ir_node *node, entity *ent) {
}
symconst_symbol
get_SymConst_type_or_id (ir_node *node) {
union symconst_symbol
get_SymConst_symbol (ir_node *node) {
assert (node->op == op_SymConst);
return node->attr.i.sym;
}
void
set_SymConst_type_or_id (ir_node *node, symconst_symbol sym) {
set_SymConst_symbol (ir_node *node, union symconst_symbol sym) {
assert (node->op == op_SymConst);
//memcpy (&(node->attr.i.sym), sym, sizeof(type_or_id));
node->attr.i.sym = sym;
......
......@@ -491,7 +491,7 @@ ir_node *copy_const_value(ir_node *n) {
nn = new_Const(m, get_Const_tarval(n)); break;
case iro_SymConst:
nn = new_SymConst(get_SymConst_type_or_id(n), get_SymConst_kind(n));
nn = new_SymConst(get_SymConst_symbol(n), get_SymConst_kind(n));
break;
case iro_Add:
nn = new_Add(copy_const_value(get_Add_left(n)),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment