mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 19:04:02 +08:00
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")
|
||||
env.set_module(module)
|
||||
|
||||
compile_function(module, funcdef)
|
||||
compile_function(module, env, funcdef)
|
||||
|
||||
pass_manager = lp.PassManager.new()
|
||||
pass_manager.add(lp.PASS_MEM2REG)
|
||||
|
Loading…
Reference in New Issue
Block a user