| 304 | } |
| 305 | |
| 306 | void StackToMemoryMover::visit(Expression& _expression) |
| 307 | { |
| 308 | ASTModifier::visit(_expression); |
| 309 | if (Identifier* identifier = std::get_if<Identifier>(&_expression)) |
| 310 | if (auto offset = m_memoryOffsetTracker(identifier->name)) |
| 311 | _expression = generateMemoryLoad(m_context.dialect, identifier->debugData, *offset); |
| 312 | } |
| 313 | |
| 314 | std::optional<LiteralValue> StackToMemoryMover::VariableMemoryOffsetTracker::operator()(YulName const& _variable) const |
| 315 | { |
nothing calls this directly
no test coverage detected