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
c5fdb122
Commit
c5fdb122
authored
Jul 30, 2008
by
Christoph Mallon
Browse files
Remove last remaining SCHEDULE_PROJS.
[r20785]
parent
36eef11d
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/be/belistsched.c
View file @
c5fdb122
...
...
@@ -486,9 +486,6 @@ static void list_sched_block(ir_node *block, void *env_ptr)
else
if
(
irn
==
start_node
)
{
/* The start block will be scheduled as the first node */
add_to_sched
(
&
be
,
irn
);
#ifdef SCHEDULE_PROJS
add_tuple_projs
(
&
be
,
irn
);
#endif
}
else
{
/* Other nodes must have all operands in other blocks to be made
...
...
ir/be/besched_t.h
View file @
c5fdb122
...
...
@@ -269,11 +269,7 @@ static INLINE void _sched_reset(const ir_node *node)
*/
static
INLINE
void
_sched_remove
(
const
ir_node
*
irn
)
{
sched_info_t
*
info
;
#ifndef SCHEDULE_PROJ
assert
(
!
is_Proj
(
irn
));
#endif
info
=
get_irn_sched_info
(
irn
);
sched_info_t
*
info
=
get_irn_sched_info
(
irn
);
list_del
(
&
info
->
list
);
INIT_LIST_HEAD
(
&
info
->
list
);
info
->
scheduled
=
0
;
...
...
ir/be/beverify.c
View file @
c5fdb122
...
...
@@ -291,22 +291,13 @@ static int should_be_scheduled(be_verify_schedule_env_t *env, ir_node *node) {
if
(
is_Block
(
node
))
return
-
1
;
if
(
is_Proj
(
node
))
return
0
;
if
(
get_irn_mode
(
node
)
==
mode_M
)
{
if
(
is_Proj
(
node
))
return
0
;
if
(
is_Phi
(
node
)
||
is_Sync
(
node
)
||
is_Pin
(
node
))
return
0
;
}
#ifdef SCHEDULE_PROJS
if
(
is_Proj
(
node
))
{
if
(
get_irn_mode
(
node
)
==
mode_X
)
return
0
;
return
should_be_scheduled
(
env
,
get_Proj_pred
(
node
));
}
#else
if
(
is_Proj
(
node
))
return
0
;
#endif
if
(
be_is_Keep
(
node
)
&&
get_irn_opcode
(
get_nodes_block
(
node
))
==
iro_Bad
)
return
0
;
...
...
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