Buggy optimizations caused function-call return to share the function's entry point
authordias@eecs.tufts.edu <unknown>
Tue, 31 Mar 2009 14:46:39 +0000 (14:46 +0000)
committerdias@eecs.tufts.edu <unknown>
Tue, 31 Mar 2009 14:46:39 +0000 (14:46 +0000)
commitc990e97592ea48e74f8e1c51ab59666decaacd6d
tree2ef1d838f7db4ec9f08acad7cc7fa6255b1f1c88
parenta8e1e190ee5aa16f31bdde26daf3c897314e8994
Buggy optimizations caused function-call return to share the function's entry point
- Block concat and branch-chain elimination were allowing a function call
  to return to the caller's entry point. But that doesn't leave anywhere
  for the infotable on the stack, since the SP on return must be the same
  as the SP on entry to the procedure.
compiler/cmm/CmmContFlowOpt.hs