ExpandPseudos doesn't have any dependencies, so it can use the
authorDan Gohman <gohman@apple.com>
Thu, 18 Nov 2010 17:14:05 +0000 (17:14 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 18 Nov 2010 17:14:05 +0000 (17:14 +0000)
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

index 2f7bc8f6d46ddcdbbbccf17f98baa44288d3e319..6e7ff593a0af41ccb2bf0c0b6fb2c11c22a88d72 100644 (file)
@@ -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() {