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
e789d592
Commit
e789d592
authored
Apr 02, 2009
by
Moritz Kroll
Browse files
Renamed attr.call.cld_tp to attr.call.type
[r25770]
parent
772a0897
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
e789d592
...
...
@@ -525,7 +525,7 @@ symconst_attr *get_irn_symconst_attr(ir_node *node) {
ir_type
*
get_irn_call_attr
(
ir_node
*
node
)
{
assert
(
is_Call
(
node
));
return
node
->
attr
.
call
.
cld_tp
=
skip_tid
(
node
->
attr
.
call
.
cld_tp
);
return
node
->
attr
.
call
.
type
=
skip_tid
(
node
->
attr
.
call
.
type
);
}
sel_attr
*
get_irn_sel_attr
(
ir_node
*
node
)
{
...
...
@@ -1369,14 +1369,14 @@ set_Call_param(ir_node *node, int pos, ir_node *param) {
ir_type
*
get_Call_type
(
ir_node
*
node
)
{
assert
(
is_Call
(
node
));
return
node
->
attr
.
call
.
cld_tp
=
skip_tid
(
node
->
attr
.
call
.
cld_tp
);
return
node
->
attr
.
call
.
type
=
skip_tid
(
node
->
attr
.
call
.
type
);
}
void
set_Call_type
(
ir_node
*
node
,
ir_type
*
tp
)
{
assert
(
is_Call
(
node
));
assert
((
get_unknown_type
()
==
tp
)
||
is_Method_type
(
tp
));
node
->
attr
.
call
.
cld_tp
=
tp
;
node
->
attr
.
call
.
type
=
tp
;
}
ir_node
*
...
...
ir/ir/irtypes.h
View file @
e789d592
...
...
@@ -190,7 +190,7 @@ typedef struct {
/** Call attributes. */
typedef
struct
{
except_attr
exc
;
/**< the exception attribute. MUST be the first one. */
ir_type
*
cld_tp
;
/**< type of called procedure */
ir_type
*
type
;
/**< type of called procedure */
ir_entity
**
callee_arr
;
/**< result of callee analysis */
}
call_attr
;
...
...
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