added doxygen comments, credited backend to Moritz Kroll and Jens Mueller
[libfirm] / ir / ana / rta.c
index 343774e..41bec9e 100644 (file)
@@ -1,18 +1,29 @@
-/* -*- c -*- */
-
 /*
- * Project:     libFIRM
- * File name:   ir/ana/rta.c
- * Purpose:     Interprocedural analysis to improve the call graph estimate.
- * Author:      Florian
- * Modified by:
- * Created:     09.06.2002
- * CVS-ID:      $Id$
- * Copyright:   (c) 1999-2004 Universität Karlsruhe
- * Licence:     This file is protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
  */
 
-
+/**
+ * @file
+ * @brief    Interprocedural analysis to improve the call graph estimate.
+ * @author   Florian
+ * @version  09.06.2002
+ * @version  $Id$
+ */
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -481,10 +492,10 @@ void rta_delete_dead_graphs (void)
     if (rta_is_alive_graph (graph)) {
       /* do nothing (except some debugging fprintf`s :-) */
     } else {
-# ifdef DEBUG_libfirm
+#ifndef NDEBUG
       ir_entity *ent = get_irg_entity (graph);
       assert (visibility_external_visible != get_entity_visibility (ent));
-# endif /* defined DEBUG_libfirm */
+#endif
 
       dead_graphs[n_dead_graphs] = graph;
       n_dead_graphs ++;
@@ -562,6 +573,9 @@ void rta_report (void)
 
 /*
  * $Log$
+ * Revision 1.41  2007/03/22 10:39:33  matze
+ * a bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm
+ *
  * Revision 1.40  2007/01/16 15:45:15  beck
  * renamed type opcode to ir_opcode
  *