From 13c46d1fb2fd30c16eb7c546c4b626074faa8152 Mon Sep 17 00:00:00 2001
From: Neil Brown <neil@twistedsquare.com>
Date: Sun, 24 Feb 2008 12:32:21 +0000
Subject: [PATCH] Moved three pass-related modules out to their own directory

---
 Makefile.am                    | 8 ++++----
 {common => pass}/Pass.hs       | 0
 {common => pass}/PassList.hs   | 0
 {common => pass}/Properties.hs | 0
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename {common => pass}/Pass.hs (100%)
 rename {common => pass}/PassList.hs (100%)
 rename {common => pass}/Properties.hs (100%)

diff --git a/Makefile.am b/Makefile.am
index 9603df9..dcc6a33 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@ GHC_OPTS = \
 	-fwarn-type-defaults \
 	-fwarn-unused-binds \
 	-fwarn-unused-imports \
-	-ibackends -ichecks -icommon -ifrontends -itransformations
+	-ibackends -ichecks -icommon -ifrontends -ipass -itransformations
 
 if GHC68
 GHC_OPTS += -XUndecidableInstances -fwarn-tabs -fwarn-monomorphism-restriction
@@ -115,11 +115,8 @@ tock_SOURCES_hs += common/FlowAlgorithms.hs
 tock_SOURCES_hs += common/Intrinsics.hs
 tock_SOURCES_hs += common/Metadata.hs
 tock_SOURCES_hs += common/OrdAST.hs
-tock_SOURCES_hs += common/Pass.hs
-tock_SOURCES_hs += common/PassList.hs
 tock_SOURCES_hs += common/Pattern.hs
 tock_SOURCES_hs += common/PrettyShow.hs
-tock_SOURCES_hs += common/Properties.hs
 tock_SOURCES_hs += common/ShowCode.hs
 tock_SOURCES_hs += common/TagAST.hs
 tock_SOURCES_hs += common/TreeUtils.hs
@@ -132,6 +129,9 @@ tock_SOURCES_hs += frontends/PreprocessOccam.hs
 tock_SOURCES_hs += frontends/RainPasses.hs
 tock_SOURCES_hs += frontends/RainTypes.hs
 tock_SOURCES_hs += frontends/StructureOccam.hs
+tock_SOURCES_hs += pass/Pass.hs
+tock_SOURCES_hs += pass/PassList.hs
+tock_SOURCES_hs += pass/Properties.hs
 tock_SOURCES_hs += transformations/SimplifyComms.hs
 tock_SOURCES_hs += transformations/SimplifyExprs.hs
 tock_SOURCES_hs += transformations/SimplifyProcs.hs
diff --git a/common/Pass.hs b/pass/Pass.hs
similarity index 100%
rename from common/Pass.hs
rename to pass/Pass.hs
diff --git a/common/PassList.hs b/pass/PassList.hs
similarity index 100%
rename from common/PassList.hs
rename to pass/PassList.hs
diff --git a/common/Properties.hs b/pass/Properties.hs
similarity index 100%
rename from common/Properties.hs
rename to pass/Properties.hs