xo-pyjit: jit.codegen() -> jit.codegen_toplevel()
This commit is contained in:
parent
99b56a3540
commit
88852c1498
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ namespace xo {
|
|||
py::doc("write to console with state of all jit-owned dynamic libraries"))
|
||||
.def("codegen",
|
||||
[](MachPipeline & jit, const rp<Expression> & expr) {
|
||||
return jit.codegen(expr.borrow());
|
||||
return jit.codegen_toplevel(expr.borrow());
|
||||
},
|
||||
py::arg("x"),
|
||||
py::doc("generate llvm (IR) code for Expression x"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue