projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af109af
)
add missing #ifdef SCHEDULE_PROJS
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sun, 1 Jul 2007 15:07:41 +0000
(15:07 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sun, 1 Jul 2007 15:07:41 +0000
(15:07 +0000)
[r14869]
ir/be/beinsn.c
patch
|
blob
|
history
diff --git
a/ir/be/beinsn.c
b/ir/be/beinsn.c
index
6f7780b
..
34c239d
100644
(file)
--- a/
ir/be/beinsn.c
+++ b/
ir/be/beinsn.c
@@
-122,10
+122,12
@@
be_insn_t *be_scan_insn(const be_insn_env_t *env, ir_node *irn)
}
}
- /* FIXME: Until yet, Proj's are scheduled, so we need to find the first
+#ifdef SCHEDULE_PROJS
+ /* When Proj's are scheduled, so we need to find the first
non-Proj instruction in the schedule */
for (p = sched_next(irn); is_Proj(p); p = sched_next(p));
insn->next_insn = p;
+#endif
} else if (arch_irn_consider_in_reg_alloc(arch_env, env->cls, irn)) {
/* only one def, create one operand */