forked from M-Labs/artiq
compiler/ir: fix compile_function call
This commit is contained in:
parent
1e654f5da2
commit
e1cdec8c07
|
@ -20,7 +20,7 @@ def get_runtime_binary(env, funcdef):
|
||||||
module = lc.Module.new("main")
|
module = lc.Module.new("main")
|
||||||
env.set_module(module)
|
env.set_module(module)
|
||||||
|
|
||||||
compile_function(module, funcdef)
|
compile_function(module, env, funcdef)
|
||||||
|
|
||||||
pass_manager = lp.PassManager.new()
|
pass_manager = lp.PassManager.new()
|
||||||
pass_manager.add(lp.PASS_MEM2REG)
|
pass_manager.add(lp.PASS_MEM2REG)
|
||||||
|
|
Loading…
Reference in New Issue