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
7a68aade
Commit
7a68aade
authored
Jun 24, 2003
by
Till Riedel
Browse files
returns after assert(0) inserted
[r1390]
parent
2176bbfd
Changes
5
Hide whitespace changes
Inline
Side-by-side
ir/ana/cgana.c
View file @
7a68aade
...
...
@@ -57,6 +57,7 @@ static entity * get_implementation(type * class, entity * method) {
}
}
assert
(
0
&&
"implemenation not found"
);
return
NULL
;
}
/* Returns the entity that contains the implementation of the inherited
...
...
ir/debug/dbginfo.h
View file @
7a68aade
...
...
@@ -137,6 +137,7 @@ INLINE static const char* dbg_action_2_str(dbg_action a) {
return
"string conversion not implemented"
;
else
assert
(
0
);
return
NULL
;
}
}
...
...
ir/ir/irnode.c
View file @
7a68aade
...
...
@@ -2116,6 +2116,7 @@ get_irn_irg(ir_node *node) {
return
node
->
attr
.
end
.
irg
;
}
else
{
assert
(
0
&&
"no irg attr"
);
return
NULL
;
}
}
...
...
ir/tr/entity.c
View file @
7a68aade
...
...
@@ -413,7 +413,9 @@ ir_node *copy_const_value(ir_node *n) {
case
iro_Add
:
nn
=
new_Add
(
copy_const_value
(
get_Add_left
(
n
)),
copy_const_value
(
get_Add_right
(
n
)),
m
);
break
;
default:
assert
(
0
&&
"opdope invalid or not implemented"
);
break
;
assert
(
0
&&
"opdope invalid or not implemented"
);
nn
=
NULL
;
break
;
}
return
nn
;
}
...
...
ir/tr/type.c
View file @
7a68aade
...
...
@@ -1346,7 +1346,10 @@ entity *get_compound_member(type *tp, int pos)
else
if
(
is_union_type
(
tp
))
res
=
get_union_member
(
tp
,
pos
);
else
{
assert
(
0
&&
"need struct, union or class to get a member"
);
res
=
NULL
;
}
return
res
;
}
...
...
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