@@ -1570,9 +1570,6 @@ end
15701570 offset = new_from_original (gutils, origops[2 ])
15711571 offset = lookup_value (gutils, offset, B)
15721572
1573- currentBlock = Base. position (B)
1574- ogname = LLVM. name (currentBlock)
1575-
15761573 fval = if get_runtime_activity (gutils)
15771574 lookup_value (gutils, new_from_original (gutils, origops[1 ]), B)
15781575 else
@@ -1593,6 +1590,9 @@ end
15931590 if get_runtime_activity (gutils) && endB === nothing
15941591 cond = icmp! (B, LLVM. API. LLVMIntNE, fval, args[1 ])
15951592
1593+ currentBlock = Base. position (B)
1594+ ogname = LLVM. name (currentBlock)
1595+
15961596 nextB = add_reverse_block! (gutils, currentBlock, ogname* " _active" )
15971597
15981598 endB = add_reverse_block! (gutils, nextB, ogname* " _end" , true , false )
@@ -1644,9 +1644,6 @@ end
16441644
16451645 i8 = LLVM. IntType (8 )
16461646
1647- currentBlock = Base. position (B)
1648- ogname = LLVM. name (currentBlock)
1649-
16501647 fval = if get_runtime_activity (gutils)
16511648 lookup_value (gutils, new_from_original (gutils, origops[1 ]), B)
16521649 else
@@ -1664,6 +1661,9 @@ end
16641661
16651662 if get_runtime_activity (gutils)
16661663 cond = icmp! (B, LLVM. API. LLVMIntNE, fval, anti)
1664+
1665+ currentBlock = Base. position (B)
1666+ ogname = LLVM. name (currentBlock)
16671667
16681668 nextB = add_reverse_block! (gutils, currentBlock, ogname* " _active" )
16691669
0 commit comments