summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_fail/CheckBoundsCompareByteArray.hs
Commit message (Collapse)AuthorAgeFilesLines
* codeGen: Fix two buglets in -fbounds-check logicBen Gamari2022-01-311-0/+19
@Bodigrim noticed that the `compareByteArray#` bounds-checking logic had flipped arguments and an off-by-one. For the sake of clarity I also refactored occurrences of `cmmOffset` to rather use `cmmOffsetB`. I suspect the former should be retired.