diff options
| author | Edward Z. Yang <ezyang@mit.edu> | 2011-04-15 16:43:41 +0100 |
|---|---|---|
| committer | Edward Z. Yang <ezyang@mit.edu> | 2011-04-26 16:15:07 +0100 |
| commit | 1df9e42c4f9463b5bdef24c908d0a7ebd579b30c (patch) | |
| tree | 2d57e8eb4566961289a7e349d9a2135d01747253 /compiler/codeGen/CodeGen.lhs | |
| parent | 93b6e53272695a66d97bd2672dd366797176d5c5 (diff) | |
| download | haskell-1df9e42c4f9463b5bdef24c908d0a7ebd579b30c.tar.gz | |
Raw versions of if and switch.
This makes the following statements valid C--, which uses the
block ID directly rather than generating an anonymous block:
if (expr) goto foo;
switch expr {
case 0: goto foo;
case 1: goto bar;
}
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'compiler/codeGen/CodeGen.lhs')
0 files changed, 0 insertions, 0 deletions
