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
cbbeabaa
Commit
cbbeabaa
authored
Feb 19, 2014
by
Matthias Braun
Browse files
iropt: make sure we don't miss Ors in is_Eor_Add
parent
6c4cc157
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
cbbeabaa
...
...
@@ -74,10 +74,10 @@ static bool is_Or_Eor_Add(const ir_node *node)
* same result. */
static
bool
is_Eor_Add
(
const
ir_node
*
node
)
{
if
(
!
is_Eor
(
node
)
&&
!
is_Add
(
node
))
return
false
;
if
(
is_Or_Eor_Add
(
node
))
return
true
;
if
(
!
is_Eor
(
node
)
&&
!
is_Add
(
node
))
return
false
;
const
ir_node
*
right
=
get_binop_right
(
node
);
if
(
!
is_Const
(
right
))
...
...
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