From 938763ef07cd0687854f0b02c8539310ba4cec91 Mon Sep 17 00:00:00 2001 From: "Bradley M. Froehle" Date: Tue, 7 Aug 2012 15:38:06 -0700 Subject: [PATCH] Fix broken testall.py (NameError: PASS_AGGRESSIVE_DCE) Commit 2d79cfa43 renamed PASS_AGGRESSIVE_DCE -> PASS_ADCE but missed an instance in one test. --- test/testall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testall.py b/test/testall.py index acf330b..ed7a8a1 100755 --- a/test/testall.py +++ b/test/testall.py @@ -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()