This patch fixes missing import on non x86/amd64/ppc platform.
Since wORD_SIZE is not #ifdefed and hence is compiled on all platforms,
then also Constants import should not be (i.e. Constants import imports
wORD_SIZE definition).
---
 compiler/nativeGen/X86/Regs.hs |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
index 280db84..91a6a06 100644
--- a/compiler/nativeGen/X86/Regs.hs
+++ b/compiler/nativeGen/X86/Regs.hs
@@ -62,10 +62,7 @@ import Platform
 import FastTypes
 import FastBool
 
-
-#if  defined(i386_TARGET_ARCH) || defined(x86_64_TARGET_ARCH) || 
defined(powerpc_TARGET_ARCH)
 import Constants
-#endif
 
 
 -- | regSqueeze_class reg
-- 
1.7.4.3


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to