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(
109
109
code_blockt &init_code,
110
110
symbol_tablet &symbol_table)
111
111
{
112
- // const code_typet::parameterst ¶meters=
113
- // to_code_type(function.type).parameters();
114
-
115
112
bool has_return_value=
116
113
to_code_type (function.type ).return_type ()!=empty_typet ();
117
114
@@ -133,7 +130,9 @@ void record_function_outputs(
133
130
init_code.move_to_operands (output);
134
131
}
135
132
136
- #if 0
133
+ const code_typet::parameterst ¶meters=
134
+ to_code_type (function.type ).parameters ();
135
+
137
136
std::size_t i=0 ;
138
137
139
138
for (const auto & p : parameters)
@@ -159,7 +158,6 @@ void record_function_outputs(
159
158
160
159
i++;
161
160
}
162
- #endif
163
161
}
164
162
165
163
/* ******************************************************************\
@@ -495,6 +493,7 @@ bool ansi_c_entry_point(
495
493
init_code.move_to_operands (call_main);
496
494
497
495
// TODO: add read/modified (recursively in call graph) globals as INPUT/OUTPUT
496
+ // TODO: add side effects and return values of functions without body
498
497
499
498
record_function_outputs (symbol, init_code, symbol_table);
500
499
You can’t perform that action at this time.
0 commit comments