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
95604864
Commit
95604864
authored
Dec 14, 2006
by
Matthias Braun
Browse files
use skip_Proj_const to avoid warnings
parent
1bdbd65a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
95604864
...
...
@@ -136,7 +136,7 @@ static const arch_register_req_t *ia32_get_irn_reg_req(const void *self, arch_re
}
node_pos
=
(
pos
==
-
1
)
?
get_Proj_proj
(
irn
)
:
pos
;
irn
=
skip_Proj
(
irn
);
irn
=
skip_Proj
_const
(
irn
);
DB
((
mod
,
LEVEL_1
,
"skipping Proj, going to %+F at pos %d ... "
,
irn
,
node_pos
));
}
...
...
@@ -227,7 +227,7 @@ static const arch_register_t *ia32_get_irn_reg(const void *self, const ir_node *
}
pos
=
get_Proj_proj
(
irn
);
irn
=
skip_Proj
(
irn
);
irn
=
skip_Proj
_const
(
irn
);
}
if
(
is_ia32_irn
(
irn
))
{
...
...
@@ -245,7 +245,7 @@ static const arch_register_t *ia32_get_irn_reg(const void *self, const ir_node *
static
arch_irn_class_t
ia32_classify
(
const
void
*
self
,
const
ir_node
*
irn
)
{
arch_irn_class_t
classification
=
arch_irn_class_normal
;
irn
=
skip_Proj
(
irn
);
irn
=
skip_Proj
_const
(
irn
);
if
(
is_cfop
(
irn
))
classification
|=
arch_irn_class_branch
;
...
...
@@ -278,7 +278,7 @@ static arch_irn_flags_t ia32_get_flags(const void *self, const ir_node *irn) {
/* pred is only set, if we have a Proj */
flags
=
pred
&&
is_ia32_irn
(
pred
)
?
get_ia32_out_flags
(
pred
,
get_Proj_proj
(
irn
))
:
arch_irn_flags_none
;
irn
=
skip_Proj
(
irn
);
irn
=
skip_Proj
_const
(
irn
);
if
(
is_ia32_irn
(
irn
))
flags
|=
get_ia32_flags
(
irn
);
}
...
...
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