| 193 | } |
| 194 | |
| 195 | void EthAssemblyAdapter::appendDataSize(std::vector<AbstractAssembly::SubID> const& _subPath) |
| 196 | { |
| 197 | if (auto it = m_dataHashBySubId.find(_subPath[0]); it != m_dataHashBySubId.end()) |
| 198 | { |
| 199 | yulAssert(_subPath.size() == 1, ""); |
| 200 | m_assembly << u256(m_assembly.data(h256(it->second)).size()); |
| 201 | return; |
| 202 | } |
| 203 | |
| 204 | m_assembly.pushSubroutineSize(m_assembly.encodeSubPath(_subPath)); |
| 205 | } |
| 206 | |
| 207 | AbstractAssembly::SubID EthAssemblyAdapter::appendData(bytes const& _data) |
| 208 | { |
nothing calls this directly
no test coverage detected