File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,14 @@ class escape_domaint:public ai_domain_baset
56
56
57
57
void make_top () override final
58
58
{
59
- cleanup_map. clear ();
60
- is_bottom= false ;
59
+ // We don't have a proper top.
60
+ assert ( false ) ;
61
61
}
62
62
63
63
void make_entry () override final
64
64
{
65
- make_top ();
65
+ cleanup_map.clear ();
66
+ is_bottom=false ;
66
67
}
67
68
68
69
typedef union_find<irep_idt> aliasest;
@@ -73,6 +74,9 @@ class escape_domaint:public ai_domain_baset
73
74
std::set<irep_idt> cleanup_functions;
74
75
};
75
76
77
+ // We track a set of 'cleanup functions' for specific
78
+ // identifiers. The cleanup functions are executed
79
+ // once the last pointer to an object is lost.
76
80
typedef std::map<irep_idt, cleanupt > cleanup_mapt;
77
81
cleanup_mapt cleanup_map;
78
82
You can’t perform that action at this time.
0 commit comments