added names for loop labels

updated control flow test data
This commit is contained in:
Svetlana Isakova
2012-12-12 18:36:29 +04:00
parent 9904f21ceb
commit 97058e628e
7 changed files with 350 additions and 354 deletions
+9 -9
View File
@@ -5,16 +5,16 @@ fun test() {
}
---------------------
l0:
<START> NEXT:[r(Exception)] PREV:[]
r(Exception) NEXT:[r(Exception())] PREV:[<START>]
r(Exception()) NEXT:[jmp(error)] PREV:[r(Exception)]
jmp(error) NEXT:[<ERROR>] PREV:[r(Exception())]
- r(test) NEXT:[r(test())] PREV:[]
- r(test()) NEXT:[<END>] PREV:[]
<START> NEXT:[r(Exception)] PREV:[]
r(Exception) NEXT:[r(Exception())] PREV:[<START>]
r(Exception()) NEXT:[throw (throw Exception())] PREV:[r(Exception)]
throw (throw Exception()) NEXT:[<ERROR>] PREV:[r(Exception())]
- r(test) NEXT:[r(test())] PREV:[]
- r(test()) NEXT:[<END>] PREV:[]
l1:
<END> NEXT:[<SINK>] PREV:[]
<END> NEXT:[<SINK>] PREV:[]
error:
<ERROR> NEXT:[<SINK>] PREV:[jmp(error)]
<ERROR> NEXT:[<SINK>] PREV:[throw (throw Exception())]
sink:
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
=====================