# include "irgwalk.h"
# include "xmalloc.h"
# include "gnu_ext.h"
+# include "irdump.h"
+# include "typewalk.h"
/*
*/
static type *java_lang_Throwable_tp = NULL;
-static type *get_java_lang_Throwable ()
+static type *get_java_lang_Throwable (void)
{
assert (NULL != java_lang_Throwable_tp);
fprintf (stdout, "%s: cannot handle Call[%li] (symconst_addr_name=\"%s\")\n",
__FUNCTION__, get_irn_node_nr (call),
- get_op_name (get_irn_op (call_ptr)),
name);
cough_and_die (call_ptr);
} else if (get_SymConst_kind (call_ptr) == symconst_type_tag) {
fprintf (stdout, "%s: cannot handle Call[%li] (symconst_type_tag)\n",
- __FUNCTION__, get_irn_node_nr (call),
- get_op_name (get_irn_op (call_ptr)));
+ __FUNCTION__, get_irn_node_nr (call));
cough_and_die (call_ptr);
} else {
fprintf (stdout, "%s: cannot handle Call[%li] (%i)\n",
typalise_t *ta = NULL;
for (i = 0; i < n_ins; i ++) {
+ typalise_t *ta_in;
+
phi_in = get_irn_n (node, i);
- typalise_t *ta_in = typalise (phi_in);
+ ta_in = typalise (phi_in);
if (NULL != ta_in) {
ta = (NULL == ta) ? ta_in : ta_join (ta, ta_in);
/*
Initialise the Typalise module
*/
-void typalise_init ()
+void typalise_init (void)
{
if (NULL == java_lang_Throwable_tp) {
class_walk_super2sub (find_java_lang_Throwable, NULL, NULL);
\f
/*
$Log$
+ Revision 1.11 2005/05/13 16:35:14 beck
+ made (void) prototypes
+ removed unused fprintf arguments
+
+ Revision 1.10 2005/05/06 12:02:34 beck
+ added missing includes
+ removed C99 features
+
Revision 1.9 2005/03/22 13:56:09 liekweg
"small" fix for exception b/d