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

@@ -8,11 +8,35 @@ class TestAmbiguousCall {
}
void test() {
IllegalArgumentException var1 = new IllegalArgumentException();
this.m1((RuntimeException)var1, "RE");
this.m1(var1, "IAE");
IllegalArgumentException var2 = new IllegalArgumentException();
this.m1((RuntimeException)var2, "RE");
this.m1((IllegalArgumentException)var2, "IAE");
IllegalArgumentException var1 = new IllegalArgumentException();// 8
this.m1((RuntimeException)var1, "RE");// 9
this.m1(var1, "IAE");// 10
IllegalArgumentException var2 = new IllegalArgumentException();// 12
this.m1((RuntimeException)var2, "RE");// 13
this.m1((IllegalArgumentException)var2, "IAE");// 14
}
}
class 'pkg/TestAmbiguousCall' {
method 'test ()V' {
7 10
a 11
c 11
11 12
13 12
1d 13
20 14
22 14
27 15
2a 15
2c 15
}
}
Lines mapping:
8 <-> 11
9 <-> 12
10 <-> 13
12 <-> 14
13 <-> 15
14 <-> 16