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
7bdbfb64
Commit
7bdbfb64
authored
Feb 09, 2007
by
Matthias Braun
Browse files
fix
parent
d8f62488
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_optimize.c
View file @
7bdbfb64
...
...
@@ -476,8 +476,9 @@ static int pred_is_specific_nodeblock(const ir_node *bl, const ir_node *pred,
* @param irn The irn to check
* return 1 if irn is a candidate, 0 otherwise
*/
static
int
is_addr_candidate
(
const
ir_node
*
block
,
const
ir_node
*
irn
)
{
static
int
is_addr_candidate
(
const
ir_node
*
irn
)
{
#ifndef AGGRESSIVE_AM
const
ir_node
*
block
=
get_nodes_block
(
irn
);
ir_node
*
left
,
*
right
;
int
n
;
...
...
@@ -1165,7 +1166,7 @@ static void optimize_lea(ir_node *irn, void *env) {
if
(
is_ia32_Sub
(
irn
)
||
is_ia32_Add
(
irn
))
{
ir_node
*
res
;
if
(
!
is_addr_candidate
(
cg
,
irn
))
if
(
!
is_addr_candidate
(
irn
))
return
;
DBG
((
cg
->
mod
,
LEVEL_1
,
"
\t
found address calculation candidate %+F ... "
,
irn
));
...
...
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