From cd36f383c9722f797dcf37b0c8839b7f88d6469d Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 25 Mar 2009 18:33:23 +0000 Subject: [PATCH] Turned off unused variable checking for now -- I think it's bugged --- pass/PassList.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pass/PassList.hs b/pass/PassList.hs index 1cf2f86..513dcc3 100644 --- a/pass/PassList.hs +++ b/pass/PassList.hs @@ -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]