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
f6e0c332
Commit
f6e0c332
authored
Mar 04, 2005
by
Götz Lindenmaier
Browse files
why not?
[r5290]
parent
b83a73b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/tr/entity_t.h
View file @
f6e0c332
...
...
@@ -219,13 +219,17 @@ __get_entity_peculiarity(const entity *ent) {
}
/**
* @todo why peculiarity only for methods
* @todo Why peculiarity only for methods?
* Good question. Originally, there were only description and
* existent. The thought was, what sense does it make to
* describe a field? With inherited the situation changed. So
* I removed the assertion. GL, 28.2.05
*/
static
INLINE
void
__set_entity_peculiarity
(
entity
*
ent
,
peculiarity
pec
)
{
assert
(
ent
&&
ent
->
kind
==
k_entity
);
/* @@@ why peculiarity only for methods? */
assert
(
is_Method_type
(
ent
->
type
));
//
assert(is_Method_type(ent->type));
ent
->
peculiarity
=
pec
;
}
...
...
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