xo-jit: bugfix: need release on unique_ptr -> xfer to refcounted ptr
This commit is contained in:
parent
425323f917
commit
066c135629
3 changed files with 13 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ main() {
|
|||
llvm::InitializeNativeTargetAsmPrinter();
|
||||
llvm::InitializeNativeTargetAsmParser();
|
||||
|
||||
auto jit = llvm_exit_on_err(Jit::make_aux());
|
||||
//auto jit = llvm_exit_on_err(Jit::make_aux());
|
||||
auto jit = Jit::make();
|
||||
|
||||
//static_assert(std::is_function_v<decltype(&foo)>);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue