projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle be_Call
[libfirm]
/
ir
/
be
/
benumb.c
diff --git
a/ir/be/benumb.c
b/ir/be/benumb.c
index
04dc9c7
..
52eb1c2
100644
(file)
--- a/
ir/be/benumb.c
+++ b/
ir/be/benumb.c
@@
-4,7
+4,13
@@
* @date 8.12.2004
*/
* @date 8.12.2004
*/
-#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#include "impl.h"
#include "impl.h"
@@
-25,13
+31,6
@@
FIRM_IMPL1(get_block_node_count, int, const ir_node *)
FIRM_IMPL1(get_graph_block_count, int, const ir_graph *)
FIRM_IMPL2(get_irn_for_graph_nr, ir_node *, const ir_graph *, int)
FIRM_IMPL1(get_graph_block_count, int, const ir_graph *)
FIRM_IMPL2(get_irn_for_graph_nr, ir_node *, const ir_graph *, int)
-static phase_t phase_numbering_info = {
- "Numbering", 0
-};
-
-const phase_t *phase_numbering = &phase_numbering_info;
-
-
static void numbering_walker(ir_node *irn, void *env)
{
irg_numbering_t *graph_nr = get_irg_numbering(get_irn_irg(irn));
static void numbering_walker(ir_node *irn, void *env)
{
irg_numbering_t *graph_nr = get_irg_numbering(get_irn_irg(irn));
@@
-73,7
+72,6
@@
void be_numbering_done(ir_graph *irg)
void be_numbering_init(void)
{
void be_numbering_init(void)
{
- phase_register(&phase_numbering_info);
numbering_irn_data_offset = register_additional_node_data(sizeof(numbering_t));
numbering_irg_data_offset = register_additional_graph_data(sizeof(irg_numbering_t));
}
numbering_irn_data_offset = register_additional_node_data(sizeof(numbering_t));
numbering_irg_data_offset = register_additional_graph_data(sizeof(irg_numbering_t));
}