Lines Matching defs:IsConstant
36 static bool IsConstant(Type* type) { return type->IsBox(); }
48 CHECK_EQ(IsConstant(*type1), IsConstant(*type2));
56 } else if (IsConstant(*type1)) {
238 CHECK(IsConstant(*T.Integer31Constant));
239 CHECK(IsConstant(*T.ObjectConstant1));
240 CHECK(IsConstant(*T.ObjectConstant2));
241 CHECK(IsConstant(*T.ArrayConstant1));
242 CHECK(IsConstant(*T.ArrayConstant2));
433 CHECK(IsConstant(Type::Union(T.ObjectConstant1, T.ObjectConstant1)));
434 CHECK(IsConstant(Type::Union(T.ArrayConstant1, T.ArrayConstant1)));
594 CHECK(IsConstant(Type::Intersect(T.ObjectConstant1, T.ObjectConstant1)));
595 CHECK(IsConstant(Type::Intersect(T.ArrayConstant1, T.ArrayConstant2)));
614 CHECK(IsConstant(Type::Intersect(T.Integer31Constant, T.Number)));
615 CHECK(IsConstant(Type::Intersect(T.ObjectConstant1, T.Object)));
660 CHECK(IsConstant(Type::Intersect(
662 CHECK(IsConstant(Type::Intersect(