Serialize module into byte code. See "include/loader/loader.h".
| 233 | |
| 234 | // Serialize module into byte code. See "include/loader/loader.h". |
| 235 | Expect<std::vector<Byte>> Loader::serializeModule(const AST::Module &Mod) { |
| 236 | return Ser.serializeModule(Mod); |
| 237 | } |
| 238 | |
| 239 | // Helper function to set the function type for tag. |
| 240 | void Loader::setTagFunctionType(AST::TagSection &TagSec, |
no outgoing calls