| 181 | } |
| 182 | |
| 183 | void EthAssemblyAdapter::appendDataOffset(std::vector<AbstractAssembly::SubID> const& _subPath) |
| 184 | { |
| 185 | if (auto it = m_dataHashBySubId.find(_subPath[0]); it != m_dataHashBySubId.end()) |
| 186 | { |
| 187 | yulAssert(_subPath.size() == 1, ""); |
| 188 | m_assembly << evmasm::AssemblyItem(evmasm::PushData, it->second); |
| 189 | return; |
| 190 | } |
| 191 | |
| 192 | m_assembly.pushSubroutineOffset(m_assembly.encodeSubPath(_subPath)); |
| 193 | } |
| 194 | |
| 195 | void EthAssemblyAdapter::appendDataSize(std::vector<AbstractAssembly::SubID> const& _subPath) |
| 196 | { |
nothing calls this directly
no test coverage detected