We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d21f1 commit 17983dcCopy full SHA for 17983dc
src/goto-instrument/contracts/contracts.cpp
@@ -892,15 +892,6 @@ bool code_contractst::check_frame_conditions_function(const irep_idt &function)
892
}
893
goto_programt &program = old_function->second.body;
894
895
- if(
896
- program.empty() ||
897
- (program.instructions.size() <= 2 &&
898
- program.instructions.front().is_skip() &&
899
- program.instructions.back().is_end_function())) // empty function body
900
- {
901
- return false;
902
- }
903
-
904
if(check_for_looped_mallocs(program))
905
{
906
return true;
0 commit comments