| 16 | namespace advss { |
| 17 | |
| 18 | std::vector<TempVariableRef> MacroSegment::GetTempVarRefs() const |
| 19 | { |
| 20 | std::vector<TempVariableRef> refs; |
| 21 | for (const auto &mapping : _varMappings) { |
| 22 | if (mapping.tempVar.HasValidID()) { |
| 23 | refs.push_back(mapping.tempVar); |
| 24 | } |
| 25 | } |
| 26 | return refs; |
| 27 | } |
| 28 | |
| 29 | void MacroSegment::ApplyVarMappings() |
| 30 | { |
no test coverage detected