/*
- * Project: libFIRM
- * File name: ir/st/exc.c
- * Purpose: Helper functions for jack exceptions.
- * Author: Florian Liekweg
- * Modified by:
- * Created: 4.3.2002
- * CVS-ID: $Id$
- * Copyright: (c) 2002-2003 Universität Karlsruhe
- * Licence: This file 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 Helper functions for jack exceptions.
+ * @author Florian Liekweg
+ * @date 4.3.2002
+ * @version $Id$
*/
/**
not quite complete
***/
-# include "exc.h"
+#include <assert.h>
+#include "exc.h"
static char* exc_strings [] = {
"Invalid", /* invalid */
}
#endif
-void set_Block_exc(ir_node *n, ir_node *exc) {
+void set_Block_exc(ir_node *n, exc_t exc) {
+}
+
+exc_t get_Block_exc(ir_node *n) {
+ return 0;
+}
+
+
+/* handler handling for Blocks */
+void
+set_Block_handler (ir_node *block, ir_node *handler) {
+ assert (is_Block(block));
+ assert (is_Block(handler));
+}
+
+ir_node *
+get_Block_handler (ir_node *block) {
+ assert (is_Block(block));
+ return (NULL);
}
-ir_node * get_Block_exc(ir_node *n) {
- return NULL;
+/* handler handling for Nodes */
+void
+set_Node_handler (ir_node *node, ir_node *handler) {
+
}
+ir_node *
+get_Node_handler (ir_node *node) {
+ return (NULL);
+}
/*