diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-02 12:24:21 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-02 12:24:21 -0800 |
commit | 73313a7ef6ab384a3130e50f4904b8ae232cf4a5 (patch) | |
tree | 03c12a015074df956b930ea38e9b7e9919b042c2 /src/relooper/test4.txt | |
parent | 0b2a80ba3907b7e61b0877e2a1ec2a7454770d47 (diff) |
always use labels in multiple blocks; emit no more one-time loops but rather labeled ifs1.2.4
Diffstat (limited to 'src/relooper/test4.txt')
-rw-r--r-- | src/relooper/test4.txt | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/relooper/test4.txt b/src/relooper/test4.txt index f0bfb972..2ab3265a 100644 --- a/src/relooper/test4.txt +++ b/src/relooper/test4.txt @@ -1,17 +1,16 @@ //19 -do { - if ( 1 ) { - //20 - if (!( 1 )) { - label = 4; - break; - } - //21 - break; - } else { +L1: +if ( 1 ) { + //20 + if (!( 1 )) { label = 4; + break L1; } -} while(0); + //21 + break L1; +} else { + label = 4; +} if (label == 4) { //22 } |