diff options
| author | simonpj@microsoft.com <unknown> | 2010-11-25 17:23:56 +0000 |
|---|---|---|
| committer | simonpj@microsoft.com <unknown> | 2010-11-25 17:23:56 +0000 |
| commit | 30c17e7096919c55218083c8fcb98e6287552058 (patch) | |
| tree | 7064852738cf1876917948639d5d667d29069cca /compiler/codeGen/CgExtCode.hs | |
| parent | 45a61df30f95b22d4818b6e3e3622707911bde03 (diff) | |
| download | haskell-30c17e7096919c55218083c8fcb98e6287552058.tar.gz | |
Substitution should just substitute, not optimise
This was causing Trac #4524, by optimising
(e |> co) to e
on the LHS of a rule. Result, the template variable
'co' wasn't bound any more.
Now that substition doesn't optimise, it seems sensible to call
simpleOptExpr rather than substExpr when substituting in the
RHS of rules. Not a big deal either way.
Diffstat (limited to 'compiler/codeGen/CgExtCode.hs')
0 files changed, 0 insertions, 0 deletions
