[project @ 2000-10-26 14:34:57 by sewardj]
[ghc-hetmet.git] / ghc / compiler / utils / Panic.lhs
index 2c22699..1a7e90b 100644 (file)
@@ -12,6 +12,7 @@ some unnecessary loops in the module dependency graph.
 module Panic  ( panic, panic#, assertPanic, trace ) where
 
 import IOExts ( trace )
+import FastTypes
 
 #include "HsVersions.h"
 \end{code}
@@ -21,14 +22,14 @@ panic :: String -> a
 panic x = error ("panic! (the `impossible' happened):\n\t"
              ++ x ++ "\n\n"
              ++ "Please report it as a compiler bug "
-             ++ "to glasgow-haskell-bugs@dcs.gla.ac.uk.\n\n" )
+             ++ "to glasgow-haskell-bugs@haskell.org.\n\n" )
 
 -- #-versions because panic can't return an unboxed int, and that's
 -- what TAG_ is with GHC at the moment.  Ugh. (Simon)
 -- No, man -- Too Beautiful! (Will)
 
-panic# :: String -> FAST_INT
-panic# s = case (panic s) of () -> ILIT(0)
+panic# :: String -> FastInt
+panic# s = case (panic s) of () -> _ILIT 0
 
 assertPanic :: String -> Int -> a
 assertPanic file line = panic ("ASSERT failed! file " ++ file ++ ", line " ++ show line)