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
43d387ca
Commit
43d387ca
authored
Feb 07, 2016
by
Matthias Braun
Browse files
amd64: Fix warning and potential bug
parent
04f2cf7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_transform.c
View file @
43d387ca
...
...
@@ -3043,7 +3043,10 @@ static ir_node *gen_saturating_increment(ir_node *const node)
},
.
size
=
get_insn_size_from_mode
(
mode
),
},
.
u
.
immediate
.
offset
=
1
,
.
u
.
immediate
=
{
.
kind
=
X86_IMM_VALUE
,
.
offset
=
1
,
},
};
ir_node
*
inc_in
[]
=
{
operand
};
...
...
@@ -3062,7 +3065,10 @@ static ir_node *gen_saturating_increment(ir_node *const node)
},
.
size
=
get_insn_size_from_mode
(
mode
),
},
.
u
.
immediate
.
offset
=
0
,
.
u
.
immediate
=
{
.
kind
=
X86_IMM_VALUE
,
.
offset
=
0
,
},
};
ir_node
*
in
[
2
]
=
{
value
,
eflags
};
...
...
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