Semi-tagging optimisation
authorSimon Marlow <simonmar@microsoft.com>
Mon, 22 Jan 2007 11:40:16 +0000 (11:40 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 22 Jan 2007 11:40:16 +0000 (11:40 +0000)
commita2d78ebe0451484e20ad3dc4d7f662e8c1e9650e
tree20ed5d923d9e9b2deba08d26516453ea53434c48
parent61213f56c7dd51ca3d5175c9e0e9fb946ba19108
Semi-tagging optimisation
In the generated code for case-of-variable, test the tag of the
scrutinee closure and only enter if it is unevaluated.  Also turn
*off* vectored returns.
compiler/codeGen/CgCallConv.hs
compiler/codeGen/CgCase.lhs
compiler/codeGen/CgInfoTbls.hs
compiler/codeGen/CgTailCall.lhs
compiler/codeGen/CgUtils.hs