*** empty log message ***

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@216 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent d267a860d3
commit 35b96aaaa1
  1. 28
      jode/test/OptimizeTest.java
  2. 5
      jode/test/TryCatch.java

@ -43,24 +43,18 @@ public class OptimizeTest {
System.err.println("result: "+(g++ + sideInline(g) + g++) + "g: "+g);
longInline("Hallo", 3);
System.err.println("result:"+
(g++ + jode.test.inline.InlineTest
.difficultSideInline(this, g)
+ g++) + "g: "+g);
System.err.println("result:"+
(g++ + jode.inline.InlineTest
.difficultSideInline(this, g)
+ g++) + "g: "+g);
System.err.println("result:"+
(g++ + jode.InlineTest
(g++ + jode.test.InlineTest
.difficultSideInline(this, g)
+ g++) + "g: "+g);
// This was a check which methods are inlined. The result:
// Only methods in the same package or in sub packages.
// System.err.println("result:"+
// (g++ + jode.test.inline.InlineTest
// .difficultSideInline(this, g)
// + g++) + "g: "+g);
// System.err.println("result:"+
// (g++ + jode.InlineTest
// .difficultSideInline(this, g)
// + g++) + "g: "+g);
}
}

@ -35,6 +35,7 @@ class TryCatch {
foo();
a = 2;
simple();
a = (a=4) / (a=0);
a = 3;
localsInCatch();
a = 4;
@ -129,7 +130,9 @@ class TryCatch {
if (simple() < 2)
break;
else if (simple() < 3)
return;
foo();
else
return;
}
System.out.println();
}

Loading…
Cancel
Save