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
6750220b
Commit
6750220b
authored
Oct 17, 2014
by
Christoph Mallon
Browse files
ia32: Transfer debug information to parameter loads.
parent
2947812a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
6750220b
...
...
@@ -5825,12 +5825,12 @@ static void add_parameter_loads(ir_graph *irg, const ia32_cconv_t *cconv)
ir_entity
*
entity
=
param
->
entity
;
if
(
entity
==
NULL
)
continue
;
ir_type
*
type
=
get_entity_type
(
entity
);
ir_mode
*
mode
=
get_type_mode
(
type
);
ir_node
*
member
=
new_r_Member
(
start_block
,
frame
,
entity
);
ir_node
*
load
=
new_r_Load
(
start_block
,
no
me
m
,
member
,
mode
,
type
,
cons_none
);
ir_node
*
res
=
new_r_Proj
(
load
,
mode
,
pn_Load_res
);
ir_type
*
const
type
=
get_entity_type
(
entity
);
ir_mode
*
const
mode
=
get_type_mode
(
type
);
dbg_info
*
const
dbgi
=
get_irn_dbg_info
(
proj
);
ir_node
*
const
member
=
new_rd_Member
(
dbgi
,
start_block
,
fra
me
,
entity
);
ir_node
*
const
load
=
new_rd_Load
(
dbgi
,
start_block
,
nomem
,
member
,
mode
,
type
,
cons_none
);
ir_node
*
const
res
=
new_r_Proj
(
load
,
mode
,
pn_Load_res
);
exchange
(
proj
,
res
);
}
}
...
...
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