Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
0a81ae28
Commit
0a81ae28
authored
Apr 18, 2016
by
Christoph Mallon
Browse files
ia32: Remove 'match_upconv' from 'gen_Call()' and 'gen_IJmp()'.
The operand is a pointer, so always has the right width.
parent
d9b82a87
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
0a81ae28
...
...
@@ -4488,8 +4488,7 @@ static ir_node *gen_IJmp(ir_node *node)
assert
(
get_irn_mode
(
op
)
==
mode_P
);
ia32_address_mode_t
am
;
match_arguments
(
&
am
,
block
,
NULL
,
op
,
NULL
,
match_am
|
match_immediate
|
match_upconv
);
match_arguments
(
&
am
,
block
,
NULL
,
op
,
NULL
,
match_am
|
match_immediate
);
adjust_pc_relative_relocation
(
am
.
new_op2
);
x86_address_t
*
addr
=
&
am
.
addr
;
...
...
@@ -5038,8 +5037,7 @@ static ir_node *gen_Call(ir_node *node)
ir_node
*
const
old_block
=
get_nodes_block
(
node
);
ir_node
*
const
callee
=
get_Call_ptr
(
node
);
ir_node
*
const
mem
=
get_Call_mem
(
node
);
match_arguments
(
&
am
,
old_block
,
NULL
,
callee
,
mem
,
match_am
|
match_immediate
|
match_upconv
);
match_arguments
(
&
am
,
old_block
,
NULL
,
callee
,
mem
,
match_am
|
match_immediate
);
adjust_pc_relative_relocation
(
am
.
new_op2
);
ir_type
*
const
type
=
get_Call_type
(
node
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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