Skip to content

Commit 2bc710f

Browse files
author
Daniel Kroening
committed
use instructiont::turn_into_skip
1 parent 09fde0d commit 2bc710f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/goto-instrument/accelerate/disjunctive_polynomial_acceleration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ void disjunctive_polynomial_accelerationt::build_fixed()
914914
if(loop.find(t)==loop.end())
915915
{
916916
// This instruction isn't part of the loop... Just remove it.
917-
*fixedt = goto_programt::make_skip(fixedt->source_location);
917+
fixedt->turn_into_skip();
918918
continue;
919919
}
920920

src/goto-instrument/accelerate/sat_path_enumerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void sat_path_enumeratort::build_fixed()
269269
if(loop.find(t)==loop.end())
270270
{
271271
// This instruction isn't part of the loop... Just remove it.
272-
*fixedt = goto_programt::make_skip(fixedt->source_location);
272+
fixedt->turn_into_skip();
273273
continue;
274274
}
275275

0 commit comments

Comments
 (0)