forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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)