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
34f56b94
Commit
34f56b94
authored
Apr 04, 2014
by
Matthias Braun
Browse files
nobody should be using be_Call after code selection
parent
4916e65d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/benode.c
View file @
34f56b94
...
@@ -861,10 +861,9 @@ static void be_node_set_frame_offset(ir_node *irn, int offset)
...
@@ -861,10 +861,9 @@ static void be_node_set_frame_offset(ir_node *irn, int offset)
static
int
be_node_get_sp_bias
(
const
ir_node
*
irn
)
static
int
be_node_get_sp_bias
(
const
ir_node
*
irn
)
{
{
assert
(
!
be_is_Call
(
irn
));
if
(
be_is_IncSP
(
irn
))
if
(
be_is_IncSP
(
irn
))
return
be_get_IncSP_offset
(
irn
);
return
be_get_IncSP_offset
(
irn
);
if
(
be_is_Call
(
irn
))
return
-
(
int
)
be_Call_get_pop
(
irn
);
if
(
be_is_Start
(
irn
))
{
if
(
be_is_Start
(
irn
))
{
const
be_start_attr_t
*
attr
const
be_start_attr_t
*
attr
=
(
const
be_start_attr_t
*
)
get_irn_generic_attr_const
(
irn
);
=
(
const
be_start_attr_t
*
)
get_irn_generic_attr_const
(
irn
);
...
...
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