xo-jit: refactor: Jit.addModule() -> add_llvm_module()

This commit is contained in:
Roland Conybeare 2024-06-16 12:10:17 -04:00
commit 9bcb86e8bc
2 changed files with 10 additions and 6 deletions

View file

@ -413,7 +413,7 @@ namespace xo {
/* note does not discard llvm_cx_->llvm_cx(), it's already been moved */
this->llvm_cx_ = nullptr;
llvm_exit_on_err(this->jit_->addModule(std::move(ts_module), tracker));
llvm_exit_on_err(this->jit_->add_llvm_module(std::move(ts_module), tracker));
this->recreate_llvm_ir_pipeline();
}