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
a2e4439a
Commit
a2e4439a
authored
Jun 02, 2015
by
yb9976
Browse files
Move resource free to more appropriate place.
parent
1c5002c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_emitter.c
View file @
a2e4439a
...
...
@@ -1476,7 +1476,6 @@ void sparc_emit_function(ir_graph *irg)
}
pick_delay_slots
(
n_blocks
,
block_schedule
);
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_LINK
);
for
(
size_t
i
=
0
;
i
<
n_blocks
;
++
i
)
{
ir_node
*
block
=
block_schedule
[
i
];
...
...
@@ -1485,6 +1484,7 @@ void sparc_emit_function(ir_graph *irg)
continue
;
sparc_emit_block
(
block
,
prev
);
}
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_LINK
);
/* emit function epilog */
sparc_emit_func_epilog
(
irg
);
...
...
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