Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rename leftOrRight
  • Loading branch information
msooseth committed Feb 5, 2025
commit 2f16bcf453b590ae1dc021b98ff09fb0d6d0c797
6 changes: 3 additions & 3 deletions src/EVM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3028,12 +3028,12 @@ instance VMOps Symbolic where
assign #result Nothing
continue Nothing
where
runMore vals leftOrRight = do
runMore vals firstThread = do
case length vals of
-- if 2, we run both, otherwise, we run 1st and run ourselves with the rest
2 -> if leftOrRight then runOne $ head vals
2 -> if firstThread then runOne $ head vals
else runOne (head $ tail vals)
_ -> if leftOrRight then runOne $ head vals
_ -> if firstThread then runOne $ head vals
else runBoth . PleaseRunBoth ewordExpr $ runMore (tail vals)
runOne val = do
assign #result Nothing
Expand Down
Loading