wtf?
[libfirm] / ir / ana / cgana.h
index 381af6a..c64b87b 100644 (file)
  *  and Craig Chambers.
  *
  *  Performs some optimizations possible by the analysed information:
- *    - Replace SymConst nodes by Const nodes if possible,
- *    - Replace (Sel-method(Alloc)) by Const method,
- *    - Replaces Sel nodes by Bad if there is no implementation for the selected entity.  (@@@ was genau meint unreachable?)
- *    - Replaces Sel-method by Const if the Method is never overwritten
- *    - Replaces Calls by Tuple containing Bads if callee array is empty (there is no implementation to call)
- *
+ *    - Replace SymConst-name nodes by SymConst-entity nodes if possible.
+ *    - Replace (Sel-method(Alloc)) by SymConst-entity.
+ *    - Replaces Sel nodes by Bad if there is no implementation for the
+ *         selected entity.  (@@@ was genau meint unreachable?)
+ *    - Replaces Sel-method by SymConst-entity if the method is never overwritten.
+ *    - Replaces Calls by Tuple containing Bads if callee array is empty
+ *         (there is no implementation to call)
  *
  *  Leaves Bad control predecessors in the graph!
  */
 /*  @@@ I assume this can not be called via JNI :-( -- how to obtain the array pointer? */
-void cgana(int *len, entity ***free_methods, int whole);
+void cgana(int *len, entity ***free_methods);
 
 /** Free callee information.
  *
@@ -78,4 +79,6 @@ void free_callee_info(ir_graph *irg);
 /* @@@ move to irgopt ?! */
 /* @@@ not fully implemented as buggy !!!  */
 void opt_call_addrs(void);
+
+
 #endif /* _CGANA_H_ */