From 20f2fb2c14cbdd1028e534184337a0c5663c5be0 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Sun, 22 Mar 2009 18:27:10 +0000 Subject: [PATCH] Renamed squashArrays to backendPasses, since that's what it has become --- backends/BackendPasses.hs | 6 +++--- pass/PassList.hs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backends/BackendPasses.hs b/backends/BackendPasses.hs index 9815a08..d4ec94a 100644 --- a/backends/BackendPasses.hs +++ b/backends/BackendPasses.hs @@ -17,7 +17,7 @@ with this program. If not, see . -} -- | Passes associated with the backends -module BackendPasses (addSizesActualParameters, addSizesFormalParameters, declareSizesArray, simplifySlices, squashArrays, transformWaitFor) where +module BackendPasses (addSizesActualParameters, addSizesFormalParameters, declareSizesArray, simplifySlices, backendPasses, transformWaitFor) where import Control.Monad.State import Data.Generics @@ -36,8 +36,8 @@ import Traversal import Types import Utils -squashArrays :: [Pass] -squashArrays = +backendPasses :: [Pass] +backendPasses = -- Note that removeDirections is only for C, whereas removeUnneededDirections -- is for all backends [ removeDirectionsForC diff --git a/pass/PassList.hs b/pass/PassList.hs index ee4cf41..1cf2f86 100644 --- a/pass/PassList.hs +++ b/pass/PassList.hs @@ -67,7 +67,7 @@ commonPasses opts = concat $ , unnest , enablePassesWhen csUsageChecking [abbrevCheckPass] - , squashArrays + , backendPasses , [pass "Removing unused variables" [] [] (passOnlyOnAST "checkUnusedVar" (runChecks checkUnusedVar))] ]