Commit abb40d48 authored by Matthias Braun's avatar Matthias Braun
Browse files

Slightly improve documentation.

[r27387]
parent 04785d3f
......@@ -888,7 +888,13 @@ ir_node **get_Phi_preds_arr(ir_node *node);
int get_Phi_n_preds(const ir_node *node);
ir_node *get_Phi_pred(const ir_node *node, int pos);
void set_Phi_pred(ir_node *node, int pos, ir_node *pred);
/**
* Returns the next element of a block phi list.
*/
ir_node *get_Phi_next(const ir_node *phi);
/**
* Sets the next link of a block Phi list.
*/
void set_Phi_next(ir_node *phi, ir_node *next);
ir_node *get_Filter_pred(const ir_node *node);
......
......@@ -650,18 +650,12 @@ static inline ir_node *_get_Block_phis(const ir_node *block)
return block->attr.block.phis;
}
/**
* Sets the next link of a Phi block list.
*/
static inline void _set_Phi_next(ir_node *phi, ir_node *next)
{
assert(_is_Phi(phi));
phi->attr.phi.next = next;
}
/**
* Returns the next phi of a phi block list.
*/
static inline ir_node *_get_Phi_next(const ir_node *phi)
{
assert(_is_Phi(phi));
......
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