File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -907,16 +907,16 @@ execAtomically !time !tid !tlbl !nextVid0 action0 k0 =
907907 k0 $ StmTxAborted [] (toException e)
908908
909909 BranchFrame (CatchStmA h) k writtenOuter writtenOuterSeq createdOuterSeq ctl' ->
910- {-# SCC "execAtomically.go.branchFrame " #-} do
911- -- Revert all the TVar writes within this orElse
910+ {-# SCC "execAtomically.go.BranchFrame " #-} do
911+ -- Revert all the TVar writes within this catch
912912 ! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
913913 -- Execute the catch handler with an empty written set
914914 let ctl'' = BranchFrame EmptyStmA k writtenOuter writtenOuterSeq createdOuterSeq ctl'
915915 go ctl'' read Map. empty [] [] nextVid (h e)
916916 --
917917 BranchFrame _ _k writtenOuter writtenOuterSeq createdOuterSeq ctl' ->
918- {-# SCC "execAtomically.go.branchFrame " #-} do
919- -- Revert all the TVar writes within this orElse
918+ {-# SCC "execAtomically.go.BranchFrame " #-} do
919+ -- Revert all the TVar writes within this branch
920920 ! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
921921 go ctl' read writtenOuter writtenOuterSeq createdOuterSeq nextVid (ThrowStm e)
922922
Original file line number Diff line number Diff line change @@ -1118,16 +1118,16 @@ execAtomically time tid tlbl nextVid0 action0 k0 =
11181118 k0 $ StmTxAborted [] (toException e)
11191119
11201120 BranchFrame (CatchStmA h) k writtenOuter writtenOuterSeq createdOuterSeq ctl' ->
1121- {-# SCC "execAtomically.go.branchFrame " #-} do
1122- -- Revert all the TVar writes within this orElse
1121+ {-# SCC "execAtomically.go.BranchFrame " #-} do
1122+ -- Revert all the TVar writes within this catch
11231123 ! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
11241124 -- Execute the catch handler with an empty written set
11251125 let ctl'' = BranchFrame EmptyStmA k writtenOuter writtenOuterSeq createdOuterSeq ctl'
11261126 go ctl'' read Map. empty [] [] nextVid (h e)
11271127 --
11281128 BranchFrame _ _k writtenOuter writtenOuterSeq createdOuterSeq ctl' ->
1129- {-# SCC "execAtomically.go.branchFrame " #-} do
1130- -- Revert all the TVar writes within this orElse
1129+ {-# SCC "execAtomically.go.BranchFrame " #-} do
1130+ -- Revert all the TVar writes within this branch
11311131 ! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
11321132 go ctl' read writtenOuter writtenOuterSeq createdOuterSeq nextVid (ThrowStm e)
11331133
You can’t perform that action at this time.
0 commit comments