projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a comment to the effect that printDoc prints FastStrings in UTF-8
[ghc-hetmet.git]
/
compiler
/
utils
/
Encoding.hs
diff --git
a/compiler/utils/Encoding.hs
b/compiler/utils/Encoding.hs
index
2943768
..
c790f38
100644
(file)
--- a/
compiler/utils/Encoding.hs
+++ b/
compiler/utils/Encoding.hs
@@
-1,3
+1,7
@@
+{-# OPTIONS_GHC -O #-}
+-- We always optimise this, otherwise performance of a non-optimised
+-- compiler is severely affected
+
-- -----------------------------------------------------------------------------
--
-- (c) The University of Glasgow, 1997-2006
-- -----------------------------------------------------------------------------
--
-- (c) The University of Glasgow, 1997-2006
@@
-23,7
+27,6
@@
module Encoding (
zDecodeString
) where
zDecodeString
) where
-#define COMPILING_FAST_STRING
#include "HsVersions.h"
import Foreign
import Data.Char ( ord, chr, isDigit, digitToInt, intToDigit,
#include "HsVersions.h"
import Foreign
import Data.Char ( ord, chr, isDigit, digitToInt, intToDigit,