File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,7 @@ SSA_assignment_stept::SSA_assignment_stept(
222
222
exprt _original_full_lhs,
223
223
exprt _ssa_rhs,
224
224
exprt _cond_expr,
225
- symex_targett::assignment_typet _assignment_type,
226
- bool _hidden)
225
+ symex_targett::assignment_typet _assignment_type)
227
226
: SSA_stept(source, goto_trace_stept::typet::ASSIGNMENT)
228
227
{
229
228
guard = std::move (_guard);
@@ -233,5 +232,8 @@ SSA_assignment_stept::SSA_assignment_stept(
233
232
ssa_rhs = std::move (_ssa_rhs);
234
233
assignment_type = _assignment_type;
235
234
cond_expr = std::move (_cond_expr);
236
- hidden = _hidden;
235
+ hidden =
236
+ assignment_type != symex_targett::assignment_typet::STATE &&
237
+ assignment_type !=
238
+ symex_targett::assignment_typet::VISIBLE_ACTUAL_PARAMETER;
237
239
}
Original file line number Diff line number Diff line change @@ -206,8 +206,7 @@ class SSA_assignment_stept : public SSA_stept
206
206
exprt original_full_lhs,
207
207
exprt ssa_rhs,
208
208
exprt cond_expr,
209
- symex_targett::assignment_typet assignment_type,
210
- bool hidden);
209
+ symex_targett::assignment_typet assignment_type);
211
210
};
212
211
213
212
#endif // CPROVER_GOTO_SYMEX_SSA_STEP_H
Original file line number Diff line number Diff line change @@ -122,9 +122,7 @@ void symex_target_equationt::assignment(
122
122
original_full_lhs,
123
123
ssa_rhs,
124
124
equal_exprt (ssa_lhs, ssa_rhs),
125
- assignment_type,
126
- assignment_type != assignment_typet::STATE &&
127
- assignment_type != assignment_typet::VISIBLE_ACTUAL_PARAMETER});
125
+ assignment_type});
128
126
129
127
merge_ireps (SSA_steps.back ());
130
128
}
You can’t perform that action at this time.
0 commit comments