From 6eda0813459547fe8094dd5d31f7dd2214b5ca7a Mon Sep 17 00:00:00 2001 From: Pedro Artigas Date: Thu, 29 Nov 2012 17:47:05 +0000 Subject: One more step towards making doInitialization and doFinalization useful for start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168905 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/opt.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/opt/opt.cpp') diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 7cced98dcc..bac0d46947 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -820,9 +820,7 @@ int main(int argc, char **argv) { cl::PrintOptionValues(); // Now that we have all of the passes ready, run them. - Passes.doInitialization(); Passes.run(*M.get()); - Passes.doFinalization(); // Declare success. if (!NoOutput || PrintBreakpoints) -- cgit v1.2.3