Turned off unused variable checking for now -- I think it's bugged

This commit is contained in:
Neil Brown 2009-03-25 18:33:23 +00:00
parent 1c4d44b739
commit cd36f383c9

View File

@ -68,8 +68,8 @@ commonPasses opts = concat $
, enablePassesWhen csUsageChecking
[abbrevCheckPass]
, backendPasses
, [pass "Removing unused variables" [] []
(passOnlyOnAST "checkUnusedVar" (runChecks checkUnusedVar))]
-- , [pass "Removing unused variables" [] []
-- (passOnlyOnAST "checkUnusedVar" (runChecks checkUnusedVar))]
]
filterPasses :: CompState -> [Pass] -> [Pass]