File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,9 @@ void twols_parse_optionst::nondet_locals(goto_modelt &goto_model)
84
84
to_symbol_expr (to_code_assign (next->code ).lhs ())==decl.symbol ())
85
85
continue ;
86
86
87
- side_effect_expr_nondett nondet (decl.symbol ().type ());
87
+ side_effect_expr_nondett nondet (
88
+ decl.symbol ().type (),
89
+ i_it->source_location );
88
90
goto_programt::targett t=f_it->second .body .insert_after (i_it);
89
91
t->make_assignment ();
90
92
code_assignt c (decl.symbol (), nondet);
@@ -747,10 +749,10 @@ void make_freed_ptr_comparison_nondet(
747
749
and_exprt (
748
750
or_exprt (
749
751
lhs_not_freed_cond,
750
- side_effect_expr_nondett (bool_typet ())),
752
+ side_effect_expr_nondett (bool_typet (), loc-> source_location )),
751
753
or_exprt (
752
754
rhs_not_freed_cond,
753
- side_effect_expr_nondett (bool_typet ()))));
755
+ side_effect_expr_nondett (bool_typet (), loc-> source_location ))));
754
756
}
755
757
}
756
758
else if (cond.id ()==ID_not)
You can’t perform that action at this time.
0 commit comments