projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix x87 simulator not killing float copies that only move registers around,
[libfirm]
/
ir
/
be
/
bespill.c
diff --git
a/ir/be/bespill.c
b/ir/be/bespill.c
index
a4d1892
..
ac99880
100644
(file)
--- a/
ir/be/bespill.c
+++ b/
ir/be/bespill.c
@@
-432,6
+432,7
@@
static void spill_node(spill_env_t *env, spill_info_t *spillinfo) {
return;
to_spill = spillinfo->spilled_node;
return;
to_spill = spillinfo->spilled_node;
+ assert(sched_is_scheduled(to_spill) && "Node to be spilled must be scheduled!");
if (is_Phi(to_spill) && pset_find_ptr(env->mem_phis, spillinfo->spilled_node)) {
spill_phi(env, spillinfo);
} else {
if (is_Phi(to_spill) && pset_find_ptr(env->mem_phis, spillinfo->spilled_node)) {
spill_phi(env, spillinfo);
} else {