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
/
opt_frame.c
diff --git
a/ir/opt/opt_frame.c
b/ir/opt/opt_frame.c
index
1e6420c
..
c28abd8
100644
(file)
--- a/
ir/opt/opt_frame.c
+++ b/
ir/opt/opt_frame.c
@@
-22,7
+22,6
@@
* @brief Optimize the frame type.
* @date 15.03.2006
* @author Michael Beck
* @brief Optimize the frame type.
* @date 15.03.2006
* @author Michael Beck
- * @version $Id$
* @brief
* Optimize the frame type by removing unused type members.
*/
* @brief
* Optimize the frame type by removing unused type members.
*/
@@
-49,7
+48,7
@@
void opt_frame_irg(ir_graph *irg)
if (n <= 0)
return;
if (n <= 0)
return;
- irp_reserve_resources(irp, IR_RESOURCE_ENTITY_LINK);
+ irp_reserve_resources(irp, IR
P
_RESOURCE_ENTITY_LINK);
/* clear all entity links */
for (i = n; i > 0;) {
/* clear all entity links */
for (i = n; i > 0;) {
@@
-109,7
+108,7
@@
void opt_frame_irg(ir_graph *irg)
/* we changed the frame type, its layout should be redefined */
set_type_state(frame_tp, layout_undefined);
}
/* we changed the frame type, its layout should be redefined */
set_type_state(frame_tp, layout_undefined);
}
- irp_free_resources(irp, IR_RESOURCE_ENTITY_LINK);
+ irp_free_resources(irp, IR
P
_RESOURCE_ENTITY_LINK);
}
ir_graph_pass_t *opt_frame_irg_pass(const char *name)
}
ir_graph_pass_t *opt_frame_irg_pass(const char *name)