Line | Count | Source |
1 | #include <hobbes/read/parser.H> | |
2 | #include <hobbes/eval/cmodule.H> | |
3 | #include <hobbes/eval/cc.H> | |
4 | ||
5 | namespace hog { | |
6 | ||
7 | #include <hog/boot/gen/bootdata.H> | |
8 | ||
9 | 1 | void compileBootCode(hobbes::cc& ctx) { |
10 | 2 | for (size_t i = 0; module_defs[i] != nullptr; ++i) { |
11 | 1 | hobbes::compile(&ctx, ctx.readModule(std::string(reinterpret_cast<const char*>(module_defs[i]), module_lens[i]))); |
12 | 1 | } |
13 | 1 | } |
14 | ||
15 | } |