Commit a5df4e17 authored by Boris Boesler's avatar Boris Boesler
Browse files

*** empty log message ***

[r448]
parent 23cb7522
......@@ -626,7 +626,9 @@ static entity ** get_free_methods(void) {
}
/* Hauptprogramm ist auch frei, auch wenn es nicht "external
* visible" ist. */
eset_insert(set, get_irg_ent(get_irp_main_irg()));
if(get_irp_main_irg()) {
eset_insert(set, get_irg_ent(get_irp_main_irg()));
}
for (ent = eset_first(set); ent; ent = eset_next(set)) {
ARR_APP1(entity *, arr, ent);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment