[llvm-commits] CVS: llvm/include/llvm/Support/PassNameParser.h

Chris Lattner sabre at nondot.org
Fri Dec 1 14:01:06 PST 2006



Changes in directory llvm/include/llvm/Support:

PassNameParser.h updated: 1.13 -> 1.14
---
Log message:

remove 'target constructor' support.


---
Diffs of the changes:  (+1 -2)

 PassNameParser.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/include/llvm/Support/PassNameParser.h
diff -u llvm/include/llvm/Support/PassNameParser.h:1.13 llvm/include/llvm/Support/PassNameParser.h:1.14
--- llvm/include/llvm/Support/PassNameParser.h:1.13	Fri Nov 17 03:52:49 2006
+++ llvm/include/llvm/Support/PassNameParser.h	Fri Dec  1 16:00:50 2006
@@ -57,8 +57,7 @@
     // Ignore non-selectable and non-constructible passes!  Ignore
     // non-optimizations.
     return P->getPassArgument() == 0 || *P->getPassArgument() == 0 ||
-          (P->getNormalCtor() == 0 && P->getTargetCtor() == 0) ||
-          ignorablePassImpl(P);
+           P->getNormalCtor() == 0 || ignorablePassImpl(P);
   }
 
   // Implement the PassRegistrationListener callbacks used to populate our map






More information about the llvm-commits mailing list