Commit d2903a39 authored by Michael Beck's avatar Michael Beck
Browse files

get_Cond_defaultProj() function added

[r3033]
parent 1f98f6d9
......@@ -780,6 +780,12 @@ set_Cond_kind (ir_node *node, cond_kind kind) {
node->attr.c.kind = kind;
}
long
get_Cond_defaultProj (ir_node *node) {
assert (node->op == op_Cond);
return node->attr.c.default_proj;
}
ir_node *
get_Return_mem (ir_node *node) {
assert (node->op == op_Return);
......
......@@ -327,6 +327,7 @@ ir_node *get_Cond_selector (ir_node *node);
void set_Cond_selector (ir_node *node, ir_node *selector);
cond_kind get_Cond_kind (ir_node *node);
void set_Cond_kind (ir_node *node, cond_kind kind);
long get_Cond_defaultProj (ir_node *node);
/**
* Projection numbers for conditions.
......
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