Skip to content

Commit 4fe29a6

Browse files
committed
show-properties: do not skip functions marked for inlining
As of f443b18 we don't do (partial) inlining by default anymore. Thus show-properties ended up with incomplete output.
1 parent c632625 commit 4fe29a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/goto-programs/show_properties.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ void show_properties_json(
152152
json_arrayt json_properties;
153153

154154
for(const auto &fct : goto_functions.function_map)
155-
if(!fct.second.is_inlined())
156-
convert_properties_json(json_properties, ns, fct.first, fct.second.body);
155+
convert_properties_json(json_properties, ns, fct.first, fct.second.body);
157156

158157
json_objectt json_result;
159158
json_result["properties"] = json_properties;
@@ -170,8 +169,7 @@ void show_properties(
170169
show_properties_json(ns, message_handler, goto_functions);
171170
else
172171
for(const auto &fct : goto_functions.function_map)
173-
if(!fct.second.is_inlined())
174-
show_properties(ns, fct.first, message_handler, ui, fct.second.body);
172+
show_properties(ns, fct.first, message_handler, ui, fct.second.body);
175173
}
176174

177175
void show_properties(

0 commit comments

Comments
 (0)