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
2289393e
Commit
2289393e
authored
Aug 21, 2007
by
Michael Beck
Browse files
BugFix: handle the method initializer right
[r15577]
parent
a1d82053
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/irmemory.c
View file @
2289393e
...
...
@@ -934,6 +934,11 @@ static void check_initializer(ir_entity *ent) {
if
(
get_entity_variability
(
ent
)
==
variability_uninitialized
)
return
;
/* Beware: Methods initialized with "themself". This does not count as a taken
address. */
if
(
is_Method_type
(
get_entity_type
(
ent
)))
return
;
if
(
is_atomic_entity
(
ent
))
{
/* let's check if it's an address */
n
=
get_atomic_ent_value
(
ent
);
...
...
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