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
760a3c0d
Commit
760a3c0d
authored
Feb 18, 2011
by
Michael Beck
Browse files
Removed C99 feature, adapt to Firm coding conventions.
[r28421]
parent
2895bdb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/opt_osr.c
View file @
760a3c0d
...
...
@@ -1406,9 +1406,9 @@ static void fix_adds_and_subs(ir_node *irn, void *ctx)
if
(
mode_is_int
(
l_mode
))
{
/* Usually, Sub(I*,P) is an error, hence the verifier rejects it.
* However, it is correct in this case, so add Conv to make verifier happy. */
assert
(
mode_is_reference
(
r_mode
));
ir_node
*
block
=
get_nodes_block
(
right
);
ir_node
*
lconv
=
new_r_Conv
(
block
,
left
,
r_mode
);
ir_node
*
lconv
=
new_r_Conv
(
block
,
left
,
r_mode
);
assert
(
mode_is_reference
(
r_mode
));
set_Sub_left
(
irn
,
lconv
);
}
}
...
...
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