From: simonmar Date: Fri, 20 Aug 2004 12:21:05 +0000 (+0000) Subject: [project @ 2004-08-20 12:21:03 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1707 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=557d889d9db42c76b8b4cd07f07eb3616ff3236b;hp=557d889d9db42c76b8b4cd07f07eb3616ff3236b;p=ghc-hetmet.git [project @ 2004-08-20 12:21:03 by simonmar] Simplify the "impossible branch" handling, and fix a bug in the process. CmmSwitch encodes the possibility of having impossible branches (the destinations are Maybe BlockId rather than just BlockId) so we don't need to encode impossible branches as dummy blocks containing a jump to an impossible location (currently 0). However, PprC and PprCmm weren't set up to cope with Nothings in a CmmSwitch, so this commit fixes that too. ---