[project @ 2002-11-08 15:21:27 by simonpj]
authorsimonpj <unknown>
Fri, 8 Nov 2002 15:21:28 +0000 (15:21 +0000)
committersimonpj <unknown>
Fri, 8 Nov 2002 15:21:28 +0000 (15:21 +0000)
commit410e4850f38f275db6e3556d18885bfe4c259121
tree212f9e5ec5290434156b9f3ef4cdb3543b355c48
parente0b2097136f30331bae67cb01e66bba749d272c1
[project @ 2002-11-08 15:21:27 by simonpj]
--------------------------------
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.)
ghc/compiler/simplCore/SimplCore.lhs
ghc/compiler/simplCore/SimplMonad.lhs