remove heap analysis hooks - they're not used anymore
[libfirm] / ir / ir / irnode.c
index 1958ab8..3dc3b83 100644 (file)
@@ -457,14 +457,14 @@ void (mark_irn_visited)(ir_node *node) {
        _mark_irn_visited(node);
 }
 
-int (irn_not_visited)(const ir_node *node) {
-       return _irn_not_visited(node);
-}
-
 int (irn_visited)(const ir_node *node) {
        return _irn_visited(node);
 }
 
+int (irn_visited_else_mark)(ir_node *node) {
+       return _irn_visited_else_mark(node);
+}
+
 void (set_irn_link)(ir_node *node, void *link) {
        _set_irn_link(node, link);
 }
@@ -492,43 +492,6 @@ void set_irn_pinned(ir_node *node, op_pin_state state) {
        node->attr.except.pin_state = state;
 }
 
-#ifdef DO_HEAPANALYSIS
-/* Access the abstract interpretation information of a node.
-   Returns NULL if no such information is available. */
-struct abstval *get_irn_abst_value(ir_node *n) {
-       return n->av;
-}
-/* Set the abstract interpretation information of a node. */
-void set_irn_abst_value(ir_node *n, struct abstval *os) {
-       n->av = os;
-}
-struct section *firm_get_irn_section(ir_node *n) {
-       return n->sec;
-}
-void firm_set_irn_section(ir_node *n, struct section *s) {
-       n->sec = s;
-}
-#else
-/* Dummies needed for firmjni. */
-struct abstval *get_irn_abst_value(ir_node *n) {
-       (void) n;
-       return NULL;
-}
-void set_irn_abst_value(ir_node *n, struct abstval *os) {
-       (void) n;
-       (void) os;
-}
-struct section *firm_get_irn_section(ir_node *n) {
-       (void) n;
-       return NULL;
-}
-void firm_set_irn_section(ir_node *n, struct section *s) {
-       (void) n;
-       (void) s;
-}
-#endif /* DO_HEAPANALYSIS */
-
-
 /* Outputs a unique number for this node */
 long get_irn_node_nr(const ir_node *node) {
        assert(node);