Commit 252d872e authored by Michael Beck's avatar Michael Beck
Browse files

add missing non-inline versions

[r19798]
parent 02837f85
......@@ -414,6 +414,10 @@ ir_node *get_Block_phis(const ir_node *block);
void set_Block_phis(ir_node *block, ir_node *phi);
/** Add a Phi node to the list of Block Phi's. */
void add_Block_phi(ir_node *block, ir_node *phi);
/** Get the Block mark (single bit). */
unsigned get_Block_mark(const ir_node *block);
/** Set the Block mark (single bit). */
void set_Block_mark(ir_node *block, unsigned mark);
/** Return the number of Keep alive node. */
int get_End_n_keepalives(const ir_node *end);
......
......@@ -866,6 +866,20 @@ void (set_Block_phis)(ir_node *block, ir_node *phi) {
_set_Block_phis(block, phi);
}
void (add_Block_phi)(ir_node *block, ir_node *phi) {
_add_Block_phi(block, phi);
}
/* Get the Block mark (single bit). */
unsigned (get_Block_mark)(const ir_node *block) {
return _get_Block_mark(block);
}
/* Set the Block mark (single bit). */
void (set_Block_mark)(ir_node *block, unsigned mark) {
_set_Block_mark(block, mark);
}
int get_End_n_keepalives(const ir_node *end) {
assert(end->op == op_End);
return (get_irn_arity(end) - END_KEEPALIVE_OFFSET);
......
Markdown is supported
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