Lines Matching refs:val2
85 static bool compareData(Object* val1, Object* val2)
87 if (val1 == 0 && val2 == 0 || val1 == val2)
89 if ((val1 == 0 && val2 != 0) ||
90 (val1 != 0 && val2 == 0) || val1->GetType() != val2->GetType())
99 static_cast<Array*>(val2));
104 ret = val1->Equals(val2);
109 ret = val1 == val2;
114 ret = compareStruct(val1, val2);
119 Any a2 = (Any) val2;
125 ret = val1->Equals(val2);
159 static bool compareStruct(Object* val1, Object* val2)
161 Debug::Assert(val1 != 0 && val2 != 0);
163 Type* t2 = val2->GetType();
172 Object* fieldVal2 = fields[i]->GetValue(val2);