Codegen for case: Remove redundant void id checks
New unarise (714bebff) eliminates void binders in patterns already, so no need to eliminate them here. I leave assertions to make sure this is the case. Assertion failure -> bug in unarise Reviewers: bgamari, simonpj, austin, simonmar, hvr Reviewed By: simonpj Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2416
Showing
- compiler/codeGen/StgCmm.hs 12 additions, 7 deletionscompiler/codeGen/StgCmm.hs
- compiler/codeGen/StgCmmBind.hs 12 additions, 8 deletionscompiler/codeGen/StgCmmBind.hs
- compiler/codeGen/StgCmmClosure.hs 47 additions, 4 deletionscompiler/codeGen/StgCmmClosure.hs
- compiler/codeGen/StgCmmCon.hs 7 additions, 8 deletionscompiler/codeGen/StgCmmCon.hs
- compiler/codeGen/StgCmmEnv.hs 1 addition, 21 deletionscompiler/codeGen/StgCmmEnv.hs
- compiler/codeGen/StgCmmExpr.hs 15 additions, 11 deletionscompiler/codeGen/StgCmmExpr.hs
- compiler/codeGen/StgCmmLayout.hs 19 additions, 11 deletionscompiler/codeGen/StgCmmLayout.hs
- compiler/codeGen/StgCmmTicky.hs 1 addition, 2 deletionscompiler/codeGen/StgCmmTicky.hs
- compiler/ghci/ByteCodeItbls.hs 10 additions, 8 deletionscompiler/ghci/ByteCodeItbls.hs
- compiler/simplStg/UnariseStg.hs 14 additions, 0 deletionscompiler/simplStg/UnariseStg.hs
Loading
Please register or sign in to comment