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
66d30e11
Commit
66d30e11
authored
Nov 19, 2014
by
Matthias Braun
Browse files
TEMPLATE: Fix Start node not manually setting the ignore register
parent
00fce204
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/TEMPLATE/TEMPLATE_transform.c
View file @
66d30e11
...
...
@@ -214,7 +214,11 @@ static ir_node *gen_Start(ir_node *node)
dbg_info
*
dbgi
=
get_irn_dbg_info
(
node
);
ir_node
*
block
=
get_nodes_block
(
node
);
ir_node
*
new_block
=
be_transform_node
(
block
);
return
new_bd_TEMPLATE_Start
(
dbgi
,
new_block
);
ir_node
*
result
=
new_bd_TEMPLATE_Start
(
dbgi
,
new_block
);
/* we have to set ignore registers manually */
arch_set_irn_register_out
(
result
,
pn_TEMPLATE_Start_stack
,
&
TEMPLATE_registers
[
REG_SP
]);
return
result
;
}
static
ir_node
*
gen_Return
(
ir_node
*
node
)
...
...
Write
Preview
Markdown
is supported
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