decompiler: major line numbers fixes

This commit is contained in:
Egor.Ushakov
2014-12-25 21:36:19 +03:00
parent 4a6a658b4c
commit 4ee8ad716d
49 changed files with 1124 additions and 142 deletions

View File

@@ -2,10 +2,40 @@ package pkg;
class TestDebugSymbols {
private int m() {
String text = "text";
long prolonged = 42L;
float decimated = (float)prolonged / 10.0F;
double doubled = (double)(2.0F * decimated);
return (text + ":" + prolonged + ":" + decimated + ":" + doubled).length();
String text = "text";// 21
long prolonged = 42L;// 22
float decimated = (float)prolonged / 10.0F;// 23
double doubled = (double)(2.0F * decimated);// 24
return (text + ":" + prolonged + ":" + decimated + ":" + doubled).length();// 25
}
}
class 'pkg/TestDebugSymbols' {
method 'm ()I' {
0 4
2 4
3 5
6 5
8 6
9 6
b 6
c 6
e 7
11 7
12 7
13 7
20 8
29 8
33 8
3d 8
40 8
43 8
}
}
Lines mapping:
21 <-> 5
22 <-> 6
23 <-> 7
24 <-> 8
25 <-> 9