| 52 | } |
| 53 | |
| 54 | bool IRVariable::hasPart(std::string const& _name) const |
| 55 | { |
| 56 | for (auto const& [itemName, itemType]: m_type.stackItems()) |
| 57 | if (itemName == _name) |
| 58 | { |
| 59 | solAssert(itemName.empty() || itemType, ""); |
| 60 | return true; |
| 61 | } |
| 62 | return false; |
| 63 | } |
| 64 | |
| 65 | std::vector<std::string> IRVariable::stackSlots() const |
| 66 | { |
no test coverage detected