Lines Matching refs:val1
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())
94 Type* t1 = val1->GetType();
98 ret = compareSequence(static_cast<Array*>(val1),
104 ret = val1->Equals(val2);
109 ret = val1 == val2;
114 ret = compareStruct(val1, val2);
118 Any a1 = (Any) val1;
125 ret = val1->Equals(val2);
159 static bool compareStruct(Object* val1, Object* val2)
161 Debug::Assert(val1 != 0 && val2 != 0);
162 Type* t1 = val1->GetType();
171 Object* fieldVal1 = fields[i]->GetValue(val1);