| 223 | } |
| 224 | |
| 225 | void CompilerContext::removeVariable(Declaration const& _declaration) |
| 226 | { |
| 227 | solAssert(m_localVariables.count(&_declaration) && !m_localVariables[&_declaration].empty(), ""); |
| 228 | m_localVariables[&_declaration].pop_back(); |
| 229 | if (m_localVariables[&_declaration].empty()) |
| 230 | m_localVariables.erase(&_declaration); |
| 231 | } |
| 232 | |
| 233 | void CompilerContext::removeVariablesAboveStackHeight(unsigned _stackHeight) |
| 234 | { |
no test coverage detected