forked from M-Labs/artiq
Move old py2llvm code to artiq/py2llvm_old.
This commit is contained in:
parent
159692339d
commit
9953302cb6
|
@ -1,6 +0,0 @@
|
||||||
from artiq.py2llvm.module import Module
|
|
||||||
|
|
||||||
def get_runtime_binary(env, func_def):
|
|
||||||
module = Module(env)
|
|
||||||
module.compile_function(func_def, dict())
|
|
||||||
return module.emit_object()
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
from artiq.py2llvm.module import Module
|
||||||
|
|
||||||
|
def get_runtime_binary(env, func_def):
|
||||||
|
module = Module(env)
|
||||||
|
module.compile_function(func_def, dict())
|
||||||
|
return module.emit_object()
|
Loading…
Reference in New Issue