Home | History | Annotate | Download | only in src

Lines Matching refs:obj2

109   static int test1(TestClass obj1, TestClass obj2) {
111 obj2.j = 2;
112 return obj1.i + obj2.j;
158 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist.
159 obj.next = obj2; // Make obj2 a non-singleton.
160 // All stores below need to stay since obj/obj1/obj2 are not singletons.
164 obj2.i = 3;
165 obj2.j = 4;
166 return obj.i + obj1.j + obj2.i + obj2.j;
230 static int test6(TestClass obj1, TestClass obj2, boolean b) {
234 obj2.j = 2;
236 return obj1.j + obj2.j;
289 TestClass obj2 = new TestClass();
290 obj2.i = 1;
291 obj.next = obj2;
293 return obj2.i;
346 static int test12(TestClass obj1, TestClass obj2) {
351 obj2.i = sum;
369 static int test13(TestClass obj1, TestClass2 obj2) {
371 obj2.i = 2;
372 return obj1.i + obj2.i;
386 static int test14(TestClass obj1, SubTestClass obj2) {
388 obj2.i = 2;
550 TestClass obj2 = new TestClass();
551 obj2.i = 3; // This store can be eliminated since the singleton is inside the loop.
552 sum += obj2.i;
683 TestClass obj2 = null;
686 obj2 = obj;
688 return obj2.i;
954 TestClass obj2 = new TestClass();
955 obj1.next = obj2;
966 obj2 = new TestClass();
967 obj1.next = obj2;