We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ff8448 + 7e42fd2 commit e82701aCopy full SHA for e82701a
src/goto-programs/goto_convert_functions.cpp
@@ -140,13 +140,14 @@ void goto_convert_functionst::convert_function(const irep_idt &identifier)
140
const symbolt &symbol=ns.lookup(identifier);
141
goto_functionst::goto_functiont &f=functions.function_map[identifier];
142
143
+ if(f.body_available())
144
+ return; // already converted
145
+
146
// make tmp variables local to function
147
tmp_symbol_prefix=id2string(symbol.name)+"::$tmp::";
148
temporary_counter=0;
149
150
f.type=to_code_type(symbol.type);
- if(f.body_available())
- return; // already converted
151
152
if(symbol.value.is_nil() ||
153
symbol.value.id()=="compiled") /* goto_inline may have removed the body */
0 commit comments