decompiler: generate line number matching for return and some other statements

This commit is contained in:
Egor.Ushakov
2015-03-25 13:59:04 +03:00
parent f3af4dd681
commit 7e30facd33
4 changed files with 18 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ public class TestClassLoop {
while(true) {
try {
if(!var0) {// 33
return;
return;// 34
}
} finally {
System.out.println("1");// 38
@@ -37,7 +37,7 @@ public class TestClassLoop {
}
}
System.out.println("4");
System.out.println("4");// 58
}
}
}
@@ -54,6 +54,7 @@ class 'pkg/TestClassLoop' {
4 10
d 10
f 14
1a 15
26 18
27 18
2a 18
@@ -71,6 +72,9 @@ class 'pkg/TestClassLoop' {
2a 33
2d 33
2f 33
37 39
3a 39
3c 39
}
}
@@ -78,13 +82,13 @@ Lines mapping:
23 <-> 6
29 <-> 11
33 <-> 15
34 <-> 16
38 <-> 19
45 <-> 25
49 <-> 30
52 <-> 33
53 <-> 34
58 <-> 40
Not mapped:
34
39
54
58