| 84 | } |
| 85 | |
| 86 | std::map<std::string, unsigned> EVMAssemblyStack::sourceIndices() const |
| 87 | { |
| 88 | solAssert(m_evmAssembly); |
| 89 | return m_sourceList |
| 90 | | ranges::views::enumerate |
| 91 | | ranges::views::transform([](auto const& _source) { return std::make_pair(_source.second, _source.first); }) |
| 92 | | ranges::to<std::map<std::string, unsigned>>; |
| 93 | } |
| 94 | |
| 95 | std::string const* EVMAssemblyStack::sourceMapping(std::string const& _contractName) const |
| 96 | { |
no outgoing calls
no test coverage detected