-/* 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>
-*/
-
-/***
+ * Project: libFIRM
+ * File name: ir/st/exc.h
+ * 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.
+ */
+
+
+/**
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 */
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*);
void set_Node_handler (ir_node*, ir_node*);
ir_node* get_Node_handler (ir_node*);
+#ifdef __cplusplus
+}
+#endif
+
# endif /* def _EXC_H_ */