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
fa35e2a8
Commit
fa35e2a8
authored
Feb 04, 2014
by
Matthias Braun
Browse files
fix wrongly initialized entity_ok
parent
dcf410b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/x86_address_mode.c
View file @
fa35e2a8
...
...
@@ -172,7 +172,7 @@ static ir_node *eat_immediates(x86_address_t *addr, ir_node *node,
if
(
is_Add
(
node
))
{
ir_node
*
left
=
get_Add_left
(
node
);
ir_node
*
right
=
get_Add_right
(
node
);
bool
entity_ok
=
addr
->
entity
!
=
NULL
&&
bool
entity_ok
=
(
addr
->
entity
=
=
NULL
)
&&
((
flags
&
x86_create_am_entities_ip_relative
)
==
0
||
(
addr
->
base
==
NULL
));
...
...
@@ -187,7 +187,7 @@ static ir_node *eat_immediates(x86_address_t *addr, ir_node *node,
}
else
if
(
is_Sub
(
node
))
{
ir_node
*
left
=
get_Sub_left
(
node
);
ir_node
*
right
=
get_Sub_right
(
node
);
bool
entity_ok
=
addr
->
entity
!
=
NULL
&&
bool
entity_ok
=
(
addr
->
entity
=
=
NULL
)
&&
((
flags
&
x86_create_am_entities_ip_relative
)
==
0
||
(
addr
->
base
==
NULL
));
...
...
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