Lines Matching refs:TypeInfo
55 class TypeInfo {
57 TypeInfo() : type_(kUninitialized) { }
59 static TypeInfo Unknown() { return TypeInfo(kUnknown); }
61 static TypeInfo Primitive() { return TypeInfo(kPrimitive); }
63 static TypeInfo Number() { return TypeInfo(kNumber); }
65 static TypeInfo Integer32() { return TypeInfo(kInteger32); }
67 static TypeInfo Smi() { return TypeInfo(kSmi); }
69 static TypeInfo Symbol() { return TypeInfo(kSymbol); }
71 static TypeInfo Double() { return TypeInfo(kDouble); }
73 static TypeInfo String() { return TypeInfo(kString); }
75 static TypeInfo NonPrimitive() { return TypeInfo(kNonPrimitive); }
77 static TypeInfo Uninitialized() { return TypeInfo(kUninitialized); }
83 static TypeInfo FromInt(int bit_representation) {
93 return TypeInfo(t);
97 static TypeInfo Combine(TypeInfo a, TypeInfo b) {
98 return TypeInfo(static_cast<Type>(a.type_ & b.type_));
117 static TypeInfo TypeFromValue(Handle<Object> value);
119 bool Equals(const TypeInfo& other) {
207 explicit inline TypeInfo(Type t) : type_(t) { }
288 TypeInfo UnaryType(UnaryOperation* expr);
289 TypeInfo BinaryType(BinaryOperation* expr);
290 TypeInfo CompareType(CompareOperation* expr);
293 TypeInfo SwitchType(CaseClause* clause);
294 TypeInfo IncrementType(CountOperation* expr);