Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
f1f51d1a
Commit
f1f51d1a
authored
Sep 10, 2010
by
Matthias Braun
Browse files
sparc: fix bug where calls with many parameters were broken
[r27997]
parent
d51d2c9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_transform.c
View file @
f1f51d1a
...
...
@@ -1462,7 +1462,7 @@ static ir_node *gen_Call(ir_node *node)
/* max inputs: memory, callee, register arguments */
int
max_inputs
=
2
+
n_param_regs
;
ir_node
**
in
=
ALLOCAN
(
ir_node
*
,
max_inputs
);
ir_node
**
sync_ins
=
ALLOCAN
(
ir_node
*
,
max_input
s
);
ir_node
**
sync_ins
=
ALLOCAN
(
ir_node
*
,
n_param
s
);
struct
obstack
*
obst
=
be_get_be_obst
(
irg
);
const
arch_register_req_t
**
in_req
=
OALLOCNZ
(
obst
,
const
arch_register_req_t
*
,
max_inputs
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment