| 162 | } |
| 163 | |
| 164 | bool SlotDescriptor::LayoutEquals(const SlotDescriptor& other_desc) const { |
| 165 | if (type() != other_desc.type()) return false; |
| 166 | if (is_nullable() != other_desc.is_nullable()) return false; |
| 167 | if (slot_size() != other_desc.slot_size()) return false; |
| 168 | if (tuple_offset() != other_desc.tuple_offset()) return false; |
| 169 | if (!null_indicator_offset().Equals(other_desc.null_indicator_offset())) return false; |
| 170 | return true; |
| 171 | } |
| 172 | |
| 173 | inline bool SlotDescriptor::IsChildOfStruct() const { |
| 174 | return parent_->isTupleOfStructSlot(); |
no test coverage detected