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)
commit7f1bc015a4094a8282ad4090768d780fd4d6122d
tree244574224a94cc0bd287fe4c6fae36791cc97eb5
parent970cd21327e30e5b9af594884f1ac79334ed0582
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