Lines Matching defs:kind_
98 Representation() : kind_(kNone) { }
121 return kind_ == other.kind_;
134 if (kind_ == kExternal && other.kind_ == kNone) return true;
135 if (kind_ == kExternal && other.kind_ == kExternal) return false;
136 if (kind_ == kNone && other.kind_ == kExternal) return false;
138 ASSERT(kind_ != kExternal);
139 ASSERT(other.kind_ != kExternal);
141 if (kind_ == kUInteger8 && other.kind_ == kInteger8) return false;
142 if (kind_ == kUInteger16 && other.kind_ == kInteger16) return false;
143 return kind_ > other.kind_;
170 Kind kind() const { return static_cast<Kind>(kind_); }
171 bool IsNone() const { return kind_ == kNone; }
172 bool IsInteger8() const { return kind_ == kInteger8; }
173 bool IsUInteger8() const { return kind_ == kUInteger8; }
174 bool IsInteger16() const { return kind_ == kInteger16; }
175 bool IsUInteger16() const { return kind_ == kUInteger16; }
176 bool IsTagged() const { return kind_ == kTagged; }
177 bool IsSmi() const { return kind_ == kSmi; }
179 bool IsInteger32() const { return kind_ == kInteger32; }
181 bool IsDouble() const { return kind_ == kDouble; }
182 bool IsHeapObject() const { return kind_ == kHeapObject; }
183 bool IsExternal() const { return kind_ == kExternal; }
192 explicit Representation(Kind k) : kind_(k) { }
197 int8_t kind_;