File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,6 @@ void record_function_outputs(
109109 code_blockt &init_code,
110110 symbol_tablet &symbol_table)
111111{
112- // const code_typet::parameterst ¶meters=
113- // to_code_type(function.type).parameters();
114-
115112 bool has_return_value=
116113 to_code_type (function.type ).return_type ()!=empty_typet ();
117114
@@ -133,7 +130,9 @@ void record_function_outputs(
133130 init_code.move_to_operands (output);
134131 }
135132
136- #if 0
133+ const code_typet::parameterst ¶meters=
134+ to_code_type (function.type ).parameters ();
135+
137136 std::size_t i=0 ;
138137
139138 for (const auto & p : parameters)
@@ -159,7 +158,6 @@ void record_function_outputs(
159158
160159 i++;
161160 }
162- #endif
163161}
164162
165163/* ******************************************************************\
@@ -495,6 +493,7 @@ bool ansi_c_entry_point(
495493 init_code.move_to_operands (call_main);
496494
497495 // TODO: add read/modified (recursively in call graph) globals as INPUT/OUTPUT
496+ // TODO: add side effects and return values of functions without body
498497
499498 record_function_outputs (symbol, init_code, symbol_table);
500499
You can’t perform that action at this time.
0 commit comments