Skip to content

Commit

Permalink
Fix stack debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Nov 13, 2024
1 parent e05237e commit eedd085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unison-runtime/src/Unison/Runtime/Stack.hs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ peekI _stk@(Stack _ _ sp ustk _) = do
peekOffI :: DebugCallStack => Stack -> Off -> IO Int
peekOffI _stk@(Stack _ _ sp ustk _) i = do
#ifdef STACK_CHECK
assertUnboxed _stk 0
assertUnboxed _stk i
#endif
readByteArray ustk (sp - i)
{-# INLINE peekOffI #-}
Expand Down

0 comments on commit eedd085

Please sign in to comment.