Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2002-11-08 15:21:27 by simonpj] · 410e4850
    Simon Peyton Jones authored
    --------------------------------
    	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.)
    410e4850