simonpj 2002/11/08 07:21:29 PST
Modified files:
ghc/compiler/simplCore SimplCore.lhs SimplMonad.lhs
Log:
--------------------------------
Expression simplification for TH
--------------------------------
Simplify expressions without any inlining in SimplCore.simplifyExpr.
simplifyExpr is used to simplify a TH splice before running the code,
and simplifyExpr was using (SimplPhase 0) which allows inlining.
Unfortunately, when -O is on (which can happen when compiling a program
with some splices with -O) some inlining can happen which then confuses
the byte-code generator. (Unboxed tuples.)
Revision Changes Path
1.108 +6 -1 fptools/ghc/compiler/simplCore/SimplCore.lhs
1.54 +8 -0 fptools/ghc/compiler/simplCore/SimplMonad.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc