From 409d64a7645ed94a1a23f6c3e03d46cb6d24b382 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 18 Nov 2010 17:14:05 +0000 Subject: [PATCH] ExpandPseudos doesn't have any dependencies, so it can use the simple form of INITIALIZE_PASS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119707 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/ExpandPseudos.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/CodeGen/ExpandPseudos.cpp b/lib/CodeGen/ExpandPseudos.cpp index 2f7bc8f6d46..6e7ff593a0a 100644 --- a/lib/CodeGen/ExpandPseudos.cpp +++ b/lib/CodeGen/ExpandPseudos.cpp @@ -43,9 +43,7 @@ namespace { } // end anonymous namespace char ExpandPseudos::ID = 0; -INITIALIZE_PASS_BEGIN(ExpandPseudos, "expand-pseudos", - "Expand CodeGen Psueod-instructions", false, false) -INITIALIZE_PASS_END(ExpandPseudos, "expand-pseudos", +INITIALIZE_PASS(ExpandPseudos, "expand-pseudos", "Expand CodeGen Psueod-instructions", false, false) FunctionPass *llvm::createExpandPseudosPass() {