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
c2fd09eb
Commit
c2fd09eb
authored
Mar 30, 2010
by
Matthias Braun
Browse files
debug output wasn't always initialized properly
[r27330]
parent
671ced67
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/tailrec.c
View file @
c2fd09eb
...
...
@@ -581,12 +581,13 @@ int opt_tail_rec_irg(ir_graph *irg)
ir_type
*
mtd_type
,
*
call_type
;
ir_entity
*
ent
;
FIRM_DBG_REGISTER
(
dbg
,
"firm.opt.tailrec"
);
assure_irg_outs
(
irg
);
if
(
!
check_lifetime_of_locals
(
irg
))
return
0
;
ent
=
get_irg_entity
(
irg
);
mtd_type
=
get_entity_type
(
ent
);
n_ress
=
get_method_n_ress
(
mtd_type
);
...
...
@@ -721,8 +722,6 @@ void opt_tail_recursion(void)
int
n_opt_applications
=
0
;
ir_graph
*
irg
;
FIRM_DBG_REGISTER
(
dbg
,
"firm.opt.tailrec"
);
for
(
i
=
get_irp_n_irgs
()
-
1
;
i
>=
0
;
--
i
)
{
irg
=
get_irp_irg
(
i
);
...
...
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