Loads do not remove any nodes from the exec after sets. Also fix a 'node leak'.
[libfirm] / ir / st / exc.h
index 552f0be..1e841ed 100644 (file)
@@ -1,19 +1,37 @@
-/* Copyright (c) 2002 by Universität Karlsruhe (TH).  All Rights Reserved */
 /*
-** Time-stamp: <Monday, 04.11.2002, 17:32:28 goetz@i44pc2.info.uni-karlsruhe.de>
-*/
-
-/***
+ * 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     Helper functions for jack exceptions.
+ * @author    Florian Liekweg
+ * @date      4.3.2002
+ * @version   $Id$
+ */
+
+/**
    NAME
      exc
    PURPOSE
      Helper functions for exceptions
-   NOTES
+   S
      not quite complete
-   HISTORY
-     liekweg - Mar 4, 2002: Created.
-   CVS:
-     $Id$
 ***/
 
 # include "irnode.h"
 # include "irop.h"
 # include "irouts.h"
 
-#include "bool.h"
+#include <stdbool.h>
+
+#ifdef __cplusplus
+       extern "C" {
+#endif
 
 typedef enum {
   exc_invalid = 0,                                     /* not yet computed */
@@ -43,6 +65,8 @@ typedef enum {
   exc_max                                              /* maximum value of enum for 'bounds checking' */
 } exc_t;
 
+
+
 const char *exc_to_string (exc_t);
 
 bool is_handler_entry (ir_graph*, ir_node*);
@@ -63,4 +87,8 @@ ir_node* get_Block_handler (ir_node*);
 void     set_Node_handler  (ir_node*, ir_node*);
 ir_node* get_Node_handler  (ir_node*);
 
+#ifdef __cplusplus
+}
+#endif
+
 # endif /* def _EXC_H_ */