We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
goto_programt::insert_before_swap
1 parent 956e2ba commit 6642254Copy full SHA for 6642254
src/goto-programs/goto_program.h
@@ -625,6 +625,22 @@ class goto_programt
625
626
/// Insertion that preserves jumps to "target".
627
/// The instruction is destroyed.
628
+ ///
629
+ /// Turns:
630
+ /// ```
631
+ /// ...->[a]->...
632
+ /// ^
633
+ /// target
634
635
636
+ /// Into:
637
638
+ /// ...->[i]->[a]->...
639
640
641
642
643
+ /// So that jumps to `a` now jump to the newly inserted `i`.
644
void insert_before_swap(targett target, instructiont &instruction)
645
{
646
insert_before_swap(target);
0 commit comments