xo-jit: minor tidy (comments)

This commit is contained in:
Roland Conybeare 2024-06-16 12:16:55 -04:00
commit bfbd097db5
2 changed files with 5 additions and 3 deletions

View file

@ -91,15 +91,17 @@ namespace xo {
**/
void machgen_current_module();
/** lookup symbol in jit-associated output library **/
llvm::orc::ExecutorAddr lookup_symbol(const std::string & x);
virtual void display(std::ostream & os) const;
virtual std::string display_string() const;
private:
MachPipeline(std::unique_ptr<Jit> jit);
/** construct instance, adopting jit for compilation+execution **/
explicit MachPipeline(std::unique_ptr<Jit> jit);
/* iniitialize native builder (i.e. for platform we're running on) */
/** iniitialize native builder (i.e. for platform we're running on) **/
static void init_once();
/** (re)create pipeline to turn expressions into llvm IR code **/

View file

@ -35,7 +35,7 @@ namespace xo {
* can instantiate from python
* + 'jit object layer'
* (realtime dynamic library object linking layer)
* + 'jit_copmile_layer'
* + 'jit_compile_layer'
* + 'jit_our_dynamic_lib'
*/
llvm::Expected<std::unique_ptr<MachPipeline>>