projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a wrapper macro for ir_nodehashmap_get(), which has the return type as additional...
[libfirm]
/
ir
/
be
/
arm
/
arm_transform.c
diff --git
a/ir/be/arm/arm_transform.c
b/ir/be/arm/arm_transform.c
index
95deec9
..
677118d
100644
(file)
--- a/
ir/be/arm/arm_transform.c
+++ b/
ir/be/arm/arm_transform.c
@@
-1695,7
+1695,6
@@
static void create_stacklayout(ir_graph *irg)
layout->frame_type = get_irg_frame_type(irg);
layout->between_type = arm_get_between_type();
layout->arg_type = arg_type;
layout->frame_type = get_irg_frame_type(irg);
layout->between_type = arm_get_between_type();
layout->arg_type = arg_type;
- layout->param_map = NULL; /* TODO */
layout->initial_offset = 0;
layout->initial_bias = 0;
layout->sp_relative = true;
layout->initial_offset = 0;
layout->initial_bias = 0;
layout->sp_relative = true;
@@
-1754,7
+1753,7
@@
static ir_node *get_stack_pointer_for(ir_node *node)
}
be_transform_node(stack_pred);
}
be_transform_node(stack_pred);
- stack =
(ir_node*)pmap_get(
node_to_stack, stack_pred);
+ stack =
pmap_get(ir_node,
node_to_stack, stack_pred);
if (stack == NULL) {
return get_stack_pointer_for(stack_pred);
}
if (stack == NULL) {
return get_stack_pointer_for(stack_pred);
}