Do not display trivial sets of next/previous instructions in test data

For better readability of test failures
This commit is contained in:
Andrey Breslav
2013-12-04 14:04:52 +04:00
parent e8c94a9d1d
commit 6a4043c9a0
38 changed files with 1171 additions and 1156 deletions
@@ -5,14 +5,14 @@ fun test() {
}
---------------------
L0:
<START> NEXT:[call(Exception, <init>)] PREV:[]
call(Exception, <init>) NEXT:[throw (throw Exception())] PREV:[<START>]
throw (throw Exception()) NEXT:[<ERROR>] PREV:[call(Exception, <init>)]
- call(test, test) NEXT:[<END>] PREV:[]
<START>
call(Exception, <init>)
throw (throw Exception()) NEXT:[<ERROR>]
- call(test, test) PREV:[]
L1:
<END> NEXT:[<SINK>] PREV:[]
error:
<ERROR> NEXT:[<SINK>] PREV:[throw (throw Exception())]
<ERROR> PREV:[throw (throw Exception())]
sink:
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
<SINK> PREV:[<ERROR>, <END>]
=====================
@@ -4,15 +4,15 @@ fun foo() {
}
---------------------
L0:
<START> NEXT:[ret L1] PREV:[]
ret L1 NEXT:[<END>] PREV:[<START>]
<START>
ret L1 NEXT:[<END>]
- jt(L2) NEXT:[r(null), <END>] PREV:[]
- r(null) NEXT:[<END>] PREV:[]
- r(null) PREV:[]
L1:
L2:
<END> NEXT:[<SINK>] PREV:[ret L1]
error:
<ERROR> NEXT:[<SINK>] PREV:[]
<ERROR> PREV:[]
sink:
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
<SINK> PREV:[<ERROR>, <END>]
=====================