summaryrefslogtreecommitdiff
path: root/testsuite/tests/regalloc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/regalloc')
-rw-r--r--testsuite/tests/regalloc/regalloc_unit_tests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/regalloc/regalloc_unit_tests.hs b/testsuite/tests/regalloc/regalloc_unit_tests.hs
index f9ccd1f703..2b018fc0e1 100644
--- a/testsuite/tests/regalloc/regalloc_unit_tests.hs
+++ b/testsuite/tests/regalloc/regalloc_unit_tests.hs
@@ -200,7 +200,7 @@ testGraphNoSpills dflags' path us = do
-- discard irrelevant stats
extractSRMs x = case x of
Color.RegAllocStatsColored _ _ _ _ _ _ _ _
- rSrms -> Just rSrms
+ rSrms _ -> Just rSrms
_ -> Nothing
matchesExpected (a, b, c) = a == 0 && b == 0