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
57202971
Commit
57202971
authored
Mar 30, 2006
by
Michael Beck
Browse files
reordered if for faster execution
added additional info in dump
parent
c560dd51
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/benode.c
View file @
57202971
...
...
@@ -854,7 +854,7 @@ ir_node *be_spill(const arch_env_t *arch_env, ir_node *irn, ir_node *ctx)
*/
insert
=
sched_next
(
irn
);
if
(
bl
==
get_irg_start_block
(
irg
)
&&
insert
!=
bl
&&
sched_get_time_step
(
frame
)
>=
sched_get_time_step
(
insert
))
if
(
insert
!=
bl
&&
bl
==
get_irg_start_block
(
irg
)
&&
sched_get_time_step
(
frame
)
>=
sched_get_time_step
(
insert
))
insert
=
sched_next
(
frame
);
while
((
is_Phi
(
insert
)
||
is_Proj
(
insert
))
&&
!
sched_is_end
(
insert
))
...
...
@@ -1295,8 +1295,11 @@ static int dump_node(ir_node *irn, FILE *f, dump_reason_t reason)
if
(
be_has_frame_entity
(
irn
))
{
be_frame_attr_t
*
a
=
(
be_frame_attr_t
*
)
at
;
if
(
a
->
ent
)
ir_fprintf
(
f
,
"frame entity: %+F offset %x (%d)
\n
"
,
a
->
ent
,
a
->
offset
,
a
->
offset
);
if
(
a
->
ent
)
{
int
bits
=
get_type_size_bits
(
get_entity_type
(
a
->
ent
));
ir_fprintf
(
f
,
"frame entity: %+F offset 0x%x (%d) size 0x%x %d
\n
"
,
a
->
ent
,
a
->
offset
,
a
->
offset
,
bits
,
bits
);
}
}
...
...
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