+ /* GL this is not valid in our remove irg algorithm ... which we removed by now ... */
+ assert(get_entity_peculiarity(method) == peculiarity_description
+ || graph == get_entity_irg(get_SymConst_entity(get_atomic_ent_value(method))));
+
+ /* we *must* always return a graph != NULL, *except* when we're used
+ inside remove_irg or force_description */
+ /* assert (graph && "no graph"); */
+
+ return (graph);
+#else
+ ir_graph *graph = NULL;
+
+ if (get_entity_peculiarity(method) != peculiarity_description)
+ graph = get_entity_irg(get_SymConst_entity(get_atomic_ent_value(method)));
+
+ return graph;
+#endif
+}
+
+/**
+ * Add a graph to the set of live graphs.
+ *
+ * @param graph the graph to add
+ * @return non-zero if the graph was added, zero
+ * if it was already in the live set
+ */
+static int add_graph (ir_graph *graph)
+{
+ if (!eset_contains (_live_graphs, graph)) {
+ if (verbose > 1) {
+ ir_fprintf(stdout, "RTA: new graph of %+F\n", graph);
+ }
+
+ eset_insert (_live_graphs, graph);
+ return (TRUE);