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
3d9a25f1
Commit
3d9a25f1
authored
Oct 04, 2008
by
Christoph Mallon
Browse files
Small simplification.
[r22453]
parent
204b50be
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
3d9a25f1
...
...
@@ -737,20 +737,19 @@ static void match_arguments(ia32_address_mode_t *am, ir_node *block,
}
am
->
op_type
=
ia32_AddrModeS
;
}
else
{
am
->
op_type
=
ia32_Normal
;
if
(
flags
&
match_try_am
)
{
am
->
new_op1
=
NULL
;
am
->
new_op2
=
NULL
;
am
->
op_type
=
ia32_Normal
;
return
;
}
new_op1
=
(
op1
==
NULL
?
NULL
:
be_transform_node
(
op1
));
if
(
new_op2
==
NULL
)
new_op2
=
be_transform_node
(
op2
);
am
->
op_type
=
ia32_Normal
;
am
->
ls_mode
=
get_irn_mode
(
op2
);
if
(
flags
&
match_mode_neutral
)
am
->
ls_mode
=
mode_Iu
;
am
->
ls_mode
=
(
flags
&
match_mode_neutral
?
mode_Iu
:
get_irn_mode
(
op2
));
}
if
(
addr
->
base
==
NULL
)
addr
->
base
=
noreg_gp
;
...
...
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