| 117 | } |
| 118 | |
| 119 | std::vector<schema::program::Instruction> programInstructions(Assembly const& _assembly, LinkerObject const& _linkerObject, unsigned const _sourceID) |
| 120 | { |
| 121 | auto const numCodeSections = _assembly.codeSections().size(); |
| 122 | solAssert(numCodeSections == _linkerObject.codeSectionLocations.size()); |
| 123 | |
| 124 | std::vector<schema::program::Instruction> instructionInfo; |
| 125 | for (size_t codeSectionIndex = 0; codeSectionIndex < numCodeSections; ++codeSectionIndex) |
| 126 | instructionInfo += codeSectionInstructions(_assembly, _linkerObject, _sourceID, codeSectionIndex); |
| 127 | return instructionInfo; |
| 128 | } |
| 129 | |
| 130 | } // anonymous namespace |
| 131 |
no test coverage detected