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
+11 -11
View File
@@ -4,18 +4,18 @@ fun fail() : Nothing {
}
---------------------
l0:
<START> NEXT:[r(java)] PREV:[]
r(java) NEXT:[r(lang)] PREV:[<START>]
r(lang) NEXT:[r(java.lang)] PREV:[r(java)]
r(java.lang) NEXT:[r(RuntimeException)] PREV:[r(lang)]
r(RuntimeException) NEXT:[r(RuntimeException())] PREV:[r(java.lang)]
r(RuntimeException()) NEXT:[r(java.lang.RuntimeException())] PREV:[r(RuntimeException)]
r(java.lang.RuntimeException()) NEXT:[jmp(error)] PREV:[r(RuntimeException())]
jmp(error) NEXT:[<ERROR>] PREV:[r(java.lang.RuntimeException())]
<START> NEXT:[r(java)] PREV:[]
r(java) NEXT:[r(lang)] PREV:[<START>]
r(lang) NEXT:[r(java.lang)] PREV:[r(java)]
r(java.lang) NEXT:[r(RuntimeException)] PREV:[r(lang)]
r(RuntimeException) NEXT:[r(RuntimeException())] PREV:[r(java.lang)]
r(RuntimeException()) NEXT:[r(java.lang.RuntimeException())] PREV:[r(RuntimeException)]
r(java.lang.RuntimeException()) NEXT:[throw (throw java.lang.RuntimeException())] PREV:[r(RuntimeException())]
throw (throw java.lang.RuntimeException()) NEXT:[<ERROR>] PREV:[r(java.lang.RuntimeException())]
l1:
<END> NEXT:[<SINK>] PREV:[]
<END> NEXT:[<SINK>] PREV:[]
error:
<ERROR> NEXT:[<SINK>] PREV:[jmp(error)]
<ERROR> NEXT:[<SINK>] PREV:[throw (throw java.lang.RuntimeException())]
sink:
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
=====================