made is_address_taken() public
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Oct 2005 15:03:47 +0000 (15:03 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Oct 2005 15:03:47 +0000 (15:03 +0000)
[r6677]

ir/opt/scalar_replace.c
ir/opt/scalar_replace.h

index e820945..6f32283 100644 (file)
@@ -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;
 
index 3938a02..4ed3f1f 100644 (file)
 
 #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)