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
d6d1fb04
Commit
d6d1fb04
authored
Apr 02, 2009
by
Moritz Kroll
Browse files
Renamed attr.copyb.data_type to attr.copyb.type
[r25776]
parent
d3563449
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/ir/ircons.c
View file @
d6d1fb04
...
...
@@ -788,7 +788,7 @@ new_bd_CopyB(dbg_info *db, ir_node *block,
res
=
new_ir_node
(
db
,
irg
,
block
,
op_CopyB
,
mode_T
,
3
,
in
);
res
->
attr
.
copyb
.
exc
.
pin_state
=
op_pin_state_pinned
;
res
->
attr
.
copyb
.
data_type
=
data_type
;
res
->
attr
.
copyb
.
type
=
data_type
;
res
=
optimize_node
(
res
);
IRN_VRFY_IRG
(
res
,
irg
);
return
res
;
...
...
ir/ir/irnode.c
View file @
d6d1fb04
...
...
@@ -2352,12 +2352,12 @@ void set_CopyB_src(ir_node *node, ir_node *src) {
ir_type
*
get_CopyB_type
(
ir_node
*
node
)
{
assert
(
is_CopyB
(
node
));
return
node
->
attr
.
copyb
.
data_
type
=
skip_tid
(
node
->
attr
.
copyb
.
data_
type
);
return
node
->
attr
.
copyb
.
type
=
skip_tid
(
node
->
attr
.
copyb
.
type
);
}
void
set_CopyB_type
(
ir_node
*
node
,
ir_type
*
data_type
)
{
assert
(
is_CopyB
(
node
)
&&
data_type
);
node
->
attr
.
copyb
.
data_
type
=
data_type
;
node
->
attr
.
copyb
.
type
=
data_type
;
}
...
...
ir/ir/irtypes.h
View file @
d6d1fb04
...
...
@@ -274,7 +274,7 @@ typedef struct {
/** CopyB attribute. */
typedef
struct
{
except_attr
exc
;
/**< The exception attribute. MUST be the first one. */
ir_type
*
data_
type
;
/**< Type of the copied entity. */
ir_type
*
type
;
/**< Type of the copied entity. */
}
copyb_attr
;
/** Bound attribute. */
...
...
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