Home | History | Annotate | Download | only in src

Lines Matching refs:obj2

102   static int test1(TestClass obj1, TestClass obj2) {
104 obj2.j = 2;
105 return obj1.i + obj2.j;
156 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist.
157 obj.next = obj2; // Make obj2 a non-singleton.
158 // All stores below need to stay since obj/obj1/obj2 are not singletons.
162 obj2.i = 3;
163 obj2.j = 4;
164 return obj.i + obj1.j + obj2.i + obj2.j;
228 static int test6(TestClass obj1, TestClass obj2, boolean b) {
232 obj2.j = 2;
234 return obj1.j + obj2.j;
287 TestClass obj2 = new TestClass();
288 obj2.i = 1;
289 obj.next = obj2;
291 return obj2.i;
344 static int test12(TestClass obj1, TestClass obj2) {
349 obj2.i = sum;
367 static int test13(TestClass obj1, TestClass2 obj2) {
369 obj2.i = 2;
370 return obj1.i + obj2.i;
384 static int test14(TestClass obj1, SubTestClass obj2) {
386 obj2.i = 2;
548 TestClass obj2 = new TestClass();
549 obj2.i = 3; // This store can be eliminated since the singleton is inside the loop.
550 sum += obj2.i;
681 TestClass obj2 = null;
684 obj2 = obj;
686 return obj2.i;
712 TestClass obj2 = new TestClass();
713 obj1.next = obj2;
724 obj2 = new TestClass();
725 obj1.next = obj2;