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
|
|
@ -73,6 +73,8 @@ namespace xo {
|
|||
public:
|
||||
/* tracking KaleidoscopeJIT::Create() here.. */
|
||||
static llvm::Expected<std::unique_ptr<Jit>> make_aux();
|
||||
static xo::ref::rp<Jit> make();
|
||||
|
||||
|
||||
llvm::Value * codegen_constant(ref::brw<xo::ast::ConstantInterface> expr);
|
||||
llvm::Function * codegen_primitive(ref::brw<xo::ast::PrimitiveInterface> expr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue