Renamed squashArrays to backendPasses, since that's what it has become
This commit is contained in:
parent
4f6050069c
commit
20f2fb2c14
|
@ -17,7 +17,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
-}
|
||||
|
||||
-- | 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
|
||||
|
|
|
@ -67,7 +67,7 @@ commonPasses opts = concat $
|
|||
, unnest
|
||||
, enablePassesWhen csUsageChecking
|
||||
[abbrevCheckPass]
|
||||
, squashArrays
|
||||
, backendPasses
|
||||
, [pass "Removing unused variables" [] []
|
||||
(passOnlyOnAST "checkUnusedVar" (runChecks checkUnusedVar))]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user