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

made is_address_taken() public

[r6677]
parent 83650baf
......@@ -126,13 +126,11 @@ static int is_const_sel(ir_node *sel) {
return 1;
}
/**
/*
* Returns non-zero, if the address of an entity
* represented by a Sel node (or it's successor Sels) is taken.
*
* @param sel the Sel node
*/
static int is_address_taken(ir_node *sel)
int is_address_taken(ir_node *sel)
{
int i, n;
......
......@@ -14,6 +14,14 @@
#include "irgraph.h"
/**
* Returns non-zero, if the address of an entity
* represented by a Sel node (or it's successor Sels) is taken.
*
* @param sel the Sel node
*/
int is_address_taken(ir_node *sel);
/**
* Do the scalar replacement optimization.
* Replace local compound entities (like structures and arrays)
......
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