| 174 | return Globals; |
| 175 | } |
| 176 | AST::MemorySection createMemory( |
| 177 | Span<const Runtime::Instance::MemoryInstance *const> MemoryInstances) { |
| 178 | AST::MemorySection Memory; |
| 179 | auto &Content = Memory.getContent(); |
| 180 | if (MemoryInstances.size() == 0) { |
| 181 | return Memory; |
| 182 | } |
| 183 | Content.push_back(MemoryInstances[0]->getMemoryType()); |
| 184 | return Memory; |
| 185 | } |
| 186 | |
| 187 | AST::CustomSection createCoremodules( |
| 188 | Loader::Serializer &Ser, |
no test coverage detected