File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ void graphml_witnesst::operator()(const goto_tracet &goto_trace)
290
290
291
291
xmlt &val_s=edge.new_element (" data" );
292
292
val_s.set_attribute (" key" , " assumption.scope" );
293
- val_s.data = id2string (it->pc -> source_location . get_function () );
293
+ val_s.data = id2string (it->function_id );
294
294
}
295
295
else if (it->type ==goto_trace_stept::typet::GOTO &&
296
296
it->pc ->is_goto ())
@@ -475,8 +475,7 @@ void graphml_witnesst::operator()(const symex_target_equationt &equation)
475
475
graphml[to].has_invariant =true ;
476
476
code_assignt assign (it->ssa_full_lhs , it->ssa_rhs );
477
477
graphml[to].invariant =convert_assign_rec (identifier, assign);
478
- graphml[to].invariant_scope =
479
- id2string (it->source .pc ->source_location .get_function ());
478
+ graphml[to].invariant_scope = id2string (it->source .function_id );
480
479
}
481
480
else if (it->is_goto () &&
482
481
it->source .pc ->is_goto ())
You can’t perform that action at this time.
0 commit comments