Home | History | Annotate | Download | only in src

Lines Matching refs:obj1

109   static int test1(TestClass obj1, TestClass obj2) {
110 obj1.i = 1;
112 return obj1.i + obj2.j;
157 TestClass obj1 = TestClass.sTestClassObj;
158 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist.
160 // All stores below need to stay since obj/obj1/obj2 are not singletons.
162 obj1.j = 2;
163 // Following stores won't kill values of obj.i and obj1.j.
166 return obj.i + obj1.j + obj2.i + obj2.j;
230 static int test6(TestClass obj1, TestClass obj2, boolean b) {
231 obj1.i = 1;
232 obj1.j = 2;
236 return obj1.j + obj2.j;
346 static int test12(TestClass obj1, TestClass obj2) {
347 obj1.i = 1;
350 sum += obj1.i;
369 static int test13(TestClass obj1, TestClass2 obj2) {
370 obj1.i = 1;
372 return obj1.i + obj2.i;
386 static int test14(TestClass obj1, SubTestClass obj2) {
387 obj1.i = 1;
389 return obj1.i;
547 TestClass obj1 = new TestClass();
548 obj1.i = 2; // This store can be eliminated since obj1 is never stored into inside a loop.
556 sum += obj1.i + obj3.i;
953 TestClass obj1 = new TestClass();
955 obj1.next = obj2;
956 assertIntEquals(test3(obj1), 10);
965 obj1 = new TestClass();
967 obj1.next = obj2;