Commit 63695412 authored by Sebastian Hack's avatar Sebastian Hack
Browse files

Added some consts

parent b59696a6
......@@ -1831,7 +1831,7 @@ type *get_Proj_type(ir_node *n)
ir_node *
get_Proj_pred (ir_node *node) {
get_Proj_pred (const ir_node *node) {
assert (is_Proj(node));
return get_irn_n(node, 0);
......@@ -1843,7 +1843,7 @@ set_Proj_pred (ir_node *node, ir_node *pred) {
get_Proj_proj (ir_node *node) {
get_Proj_proj (const ir_node *node) {
assert (is_Proj(node));
if (get_irn_opcode(node) == iro_Proj) {
return node->attr.proj;
......@@ -861,10 +861,10 @@ void set_Sync_pred (ir_node *node, int pos, ir_node *pred);
type *get_Proj_type (ir_node *node);
/** Return the predecessor of a Proj node. */
ir_node *get_Proj_pred (ir_node *node);
ir_node *get_Proj_pred (const ir_node *node);
void set_Proj_pred (ir_node *node, ir_node *pred);
/** Return the projection number of a Proj node. */
long get_Proj_proj (ir_node *node);
long get_Proj_proj (const ir_node *node);
void set_Proj_proj (ir_node *node, long proj);
ir_node **get_Tuple_preds_arr (ir_node *node);
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