Merge pull request #6 from bfroehle/testall_pass_adce

Fix broken testall.py (NameError: PASS_AGGRESSIVE_DCE)
This commit is contained in:
Siu Kwan Lam 2012-08-07 18:22:57 -07:00
commit 02326101de

View file

@ -610,7 +610,7 @@ def do_functionpassmanager():
b.ret(Constant.int(ti, 42))
fpm = FunctionPassManager.new(m)
fpm.add(TargetData.new(''))
fpm.add(PASS_AGGRESSIVE_DCE)
fpm.add(PASS_ADCE)
fpm.initialize()
fpm.run(f)
fpm.finalize()