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
842942a0
Commit
842942a0
authored
Sep 25, 2015
by
Christoph Mallon
Browse files
amd64: Set correct address immediate kind for vararg related nodes.
parent
31cc6d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_varargs.c
View file @
842942a0
...
...
@@ -326,7 +326,7 @@ static ir_node *make_mov_val64_to_offset_mem(dbg_info *dbgi, ir_node *block, ir_
.
immediate
=
{
.
entity
=
entity
,
.
offset
=
offset
,
.
kind
=
X86_IMM_FRAMEOFFSET
,
.
kind
=
entity
?
X86_IMM_FRAMEOFFSET
:
X86_IMM_VALUE
,
},
.
variant
=
X86_ADDR_BASE
,
.
base_input
=
1
,
...
...
@@ -381,7 +381,7 @@ static ir_node *make_lea_with_offset_entity(dbg_info *dbgi, ir_node *block,
amd64_addr_t
lea_addr
=
{
.
immediate
=
{
.
entity
=
offset
,
.
kind
=
X86_IMM_
VALUE
,
.
kind
=
X86_IMM_
FRAMEOFFSET
,
},
.
variant
=
X86_ADDR_BASE
,
.
base_input
=
0
,
...
...
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