* Copyright: (c) 2002-2003 Universität Karlsruhe
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
-
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <string.h>
#include <stdbool.h>
#include "ircons.h"
#include "irgmod.h"
#include "irgwalk.h"
-#include "irflag.h"
+#include "irflag_t.h"
+
+// # define CATE_jni
/* Datenstruktur für jede Methode */
typedef struct {
entity * ent = get_Call_callee(call, j);
if (ent) {
irg_data_t * data = get_entity_link(ent);
+# ifndef CATE_jni
assert(get_entity_irg(ent) && data);
++data->count;
+# endif /* ndef CATE_jni */
}
}
}
/* Echt neue Block-Operation erzeugen. CSE abschalten! */
static ir_node * create_Block(int n, ir_node ** in) {
/* Turn off optimizations so that blocks are not merged again. */
- int rem_opt = get_optimize();
+ int rem_opt = get_opt_optimize();
ir_node * block;
set_optimize(0);
block = new_Block(n, in);
irg_walk_graph(irg, destruct_walker, clear_link, NULL);
set_irg_frame(irg, skip_nop(get_irg_frame(irg)));
set_irg_globals(irg, skip_nop(get_irg_globals(irg)));
+ set_irg_callee_info_state(irg, irg_callee_info_none);
}
}