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
3d490e36
Commit
3d490e36
authored
Dec 25, 2014
by
Christoph Mallon
Browse files
be: Remove pointless sched_reset() from do_remat().
The node was just created, so it is not scheduled.
parent
90c9c962
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bespillutil.c
View file @
3d490e36
...
...
@@ -494,8 +494,6 @@ static ir_node *do_remat(spill_env_t *env, ir_node *spilled, ir_node *reloader)
spilled
,
reloader
));
if
(
!
is_Proj
(
res
))
{
/* insert in schedule */
sched_reset
(
res
);
sched_add_before
(
reloader
,
res
);
++
env
->
remat_count
;
}
...
...
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