2
0
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:
Sebastien Bourdeauducq 2014-08-18 21:32:52 +08:00
parent 1e654f5da2
commit e1cdec8c07

View File

@ -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)