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 =
907
907
k0 $ StmTxAborted [] (toException e)
908
908
909
909
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
912
912
! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
913
913
-- Execute the catch handler with an empty written set
914
914
let ctl'' = BranchFrame EmptyStmA k writtenOuter writtenOuterSeq createdOuterSeq ctl'
915
915
go ctl'' read Map. empty [] [] nextVid (h e)
916
916
--
917
917
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
920
920
! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
921
921
go ctl' read writtenOuter writtenOuterSeq createdOuterSeq nextVid (ThrowStm e)
922
922
Original file line number Diff line number Diff line change @@ -1118,16 +1118,16 @@ execAtomically time tid tlbl nextVid0 action0 k0 =
1118
1118
k0 $ StmTxAborted [] (toException e)
1119
1119
1120
1120
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
1123
1123
! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
1124
1124
-- Execute the catch handler with an empty written set
1125
1125
let ctl'' = BranchFrame EmptyStmA k writtenOuter writtenOuterSeq createdOuterSeq ctl'
1126
1126
go ctl'' read Map. empty [] [] nextVid (h e)
1127
1127
--
1128
1128
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
1131
1131
! _ <- traverse_ (\ (SomeTVar tvar) -> revertTVar tvar) written
1132
1132
go ctl' read writtenOuter writtenOuterSeq createdOuterSeq nextVid (ThrowStm e)
1133
1133
You can’t perform that action at this time.
0 commit comments