File tree 5 files changed +10
-10
lines changed
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -109,14 +109,14 @@ void preconditiont::compute_rec(exprt &dest)
109
109
// only do index!
110
110
DATA_INVARIANT (
111
111
dest.operands ().size () == 1 ,
112
- " address_of expression expected to have one operand at this point " );
112
+ " address_of expression expected to have one operand" );
113
113
compute_address_of (dest.op0 ());
114
114
}
115
115
else if (dest.id ()==ID_dereference)
116
116
{
117
117
DATA_INVARIANT (
118
118
dest.operands ().size () == 1 ,
119
- " dereference expression expected to have one operand at this point " );
119
+ " dereference expression expected to have one operand" );
120
120
121
121
const irep_idt &lhs_identifier=SSA_step.ssa_lhs .get_object_name ();
122
122
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ void symex_slice_by_tracet::parse_events(std::string read_line)
222
222
eis.insert (event);
223
223
PRECONDITION (!alphabet.empty ());
224
224
INVARIANT ((alphabet.count (event) != 0 ) == alphabet_parity,
225
- " trace uses symbol not in alphabet: " + event);
225
+ " trace symbol must be in alphabet: " + event);
226
226
if (vnext==std::string::npos)
227
227
break ;
228
228
vidx=vnext;
Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ exprt goto_symext::address_arithmetic(
156
156
else if (expr.id ()==ID_dereference)
157
157
{
158
158
DATA_INVARIANT (
159
- expr.operands ().size () == 1 ,
160
- " dereference expression expected to have one operand" );
159
+ expr.operands ().size () == 1 ,
160
+ " dereference expression expected to have one operand" );
161
161
// ANSI-C guarantees &*p == p no matter what p is,
162
162
// even if it's complete garbage
163
163
// just grab the pointer, but be wary of further dereferencing
@@ -237,8 +237,8 @@ void goto_symext::dereference_rec(
237
237
if (expr.id ()==ID_dereference)
238
238
{
239
239
DATA_INVARIANT (
240
- expr.operands ().size () == 1 ,
241
- " dereference expression expected to have one operand" );
240
+ expr.operands ().size () == 1 ,
241
+ " dereference expression expected to have one operand" );
242
242
243
243
bool expr_is_not_null = false ;
244
244
Original file line number Diff line number Diff line change @@ -430,8 +430,8 @@ void goto_symext::return_assignment(statet &state)
430
430
target.location (state.guard .as_expr (), state.source );
431
431
432
432
PRECONDITION (
433
- code.operands ().size () == 1 ||
434
- frame.return_value .is_nil ());
433
+ code.operands ().size () == 1 ||
434
+ frame.return_value .is_nil ());
435
435
436
436
exprt value=code.op0 ();
437
437
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ void goto_symext::merge_goto(
347
347
// check atomic section
348
348
INVARIANT (
349
349
state.atomic_section_id == goto_state.atomic_section_id ,
350
- " atomic sections differ across branches" );
350
+ " atomic section should be the same across branches" );
351
351
352
352
// do SSA phi functions
353
353
phi_function (goto_state, state);
You can’t perform that action at this time.
0 commit comments