forked from M-Labs/artiq
7 lines
191 B
Python
7 lines
191 B
Python
from artiq.py2llvm.module import Module
|
|
|
|
def get_runtime_binary(runtime, func_def):
|
|
module = Module(runtime)
|
|
module.compile_function(func_def, dict())
|
|
return module.emit_object()
|