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
74af1321
Commit
74af1321
authored
Oct 25, 2013
by
Andreas Seltenreich
Browse files
irio: Support mtp_additional_properties for method entities.
parent
075a2c56
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irio.c
View file @
74af1321
...
...
@@ -773,9 +773,11 @@ static void write_entity(write_env_t *env, ir_entity *ent)
write_unsigned
(
env
,
get_entity_bitfield_size
(
ent
));
break
;
}
case
IR_ENTITY_METHOD
:
write_long
(
env
,
(
long
)
get_entity_additional_properties
(
ent
));
break
;
case
IR_ENTITY_UNKNOWN
:
case
IR_ENTITY_LABEL
:
case
IR_ENTITY_METHOD
:
break
;
}
...
...
@@ -1881,6 +1883,8 @@ static void read_entity(read_env_t *env, ir_entity_kind kind)
entity
=
new_entity
(
owner
,
name
,
type
);
if
(
ld_name
!=
NULL
)
set_entity_ld_ident
(
entity
,
ld_name
);
add_entity_additional_properties
(
entity
,
(
mtp_additional_properties
)
read_long
(
env
));
break
;
case
IR_ENTITY_PARAMETER
:
{
char
*
str
=
read_word
(
env
);
...
...
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