projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clarify some node comments
[libfirm]
/
ir
/
opt
/
garbage_collect.c
diff --git
a/ir/opt/garbage_collect.c
b/ir/opt/garbage_collect.c
index
64c0a67
..
963c4fc
100644
(file)
--- a/
ir/opt/garbage_collect.c
+++ b/
ir/opt/garbage_collect.c
@@
-21,7
+21,6
@@
* @file
* @brief Removal of unreachable methods.
* @author Matthias Braun
* @file
* @brief Removal of unreachable methods.
* @author Matthias Braun
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-36,7
+35,7
@@
#include "error.h"
#include "debug.h"
#include "error.h"
#include "debug.h"
-DEBUG_ONLY(static firm_dbg_module_t *dbg
);
+DEBUG_ONLY(static firm_dbg_module_t *dbg
;)
static void visit_entity(ir_entity *entity);
static void visit_entity(ir_entity *entity);
@@
-155,7
+154,7
@@
void garbage_collect_entities(void)
FIRM_DBG_REGISTER(dbg, "firm.opt.garbagecollect");
/* start a type walk for all externally visible entities */
FIRM_DBG_REGISTER(dbg, "firm.opt.garbagecollect");
/* start a type walk for all externally visible entities */
- irp_reserve_resources(irp, IR_RESOURCE_TYPE_VISITED);
+ irp_reserve_resources(irp, IR
P
_RESOURCE_TYPE_VISITED);
inc_master_type_visited();
inc_max_irg_visited();
inc_master_type_visited();
inc_max_irg_visited();
@@
-185,7
+184,7
@@
void garbage_collect_entities(void)
ir_type *type = get_segment_type(s);
garbage_collect_in_segment(type);
}
ir_type *type = get_segment_type(s);
garbage_collect_in_segment(type);
}
- irp_free_resources(irp, IR_RESOURCE_TYPE_VISITED);
+ irp_free_resources(irp, IR
P
_RESOURCE_TYPE_VISITED);
}
ir_prog_pass_t *garbage_collect_entities_pass(const char *name)
}
ir_prog_pass_t *garbage_collect_entities_pass(const char *name)