Changes in directory llvm/include/llvm/Support:
PassNameParser.h updated: 1.14 -> 1.15 --- Log message: Start moving pass registration over to using the ManagedStatic mechanism. This fixes issues where passes get unregistered before llvm_shutdown is called, and is generally cleaner and simpler. Analysis groups up next. --- Diffs of the changes: (+0 -8) PassNameParser.h | 8 -------- 1 files changed, 8 deletions(-) Index: llvm/include/llvm/Support/PassNameParser.h diff -u llvm/include/llvm/Support/PassNameParser.h:1.14 llvm/include/llvm/Support/PassNameParser.h:1.15 --- llvm/include/llvm/Support/PassNameParser.h:1.14 Fri Dec 1 16:00:50 2006 +++ llvm/include/llvm/Support/PassNameParser.h Fri Dec 1 17:27:45 2006 @@ -74,14 +74,6 @@ } virtual void passEnumerate(const PassInfo *P) { passRegistered(P); } - virtual void passUnregistered(const PassInfo *P) { - if (ignorablePass(P) || !Opt) return; - assert(findOption(P->getPassArgument()) != getNumOptions() && - "Registered Pass not in the pass map!"); - removeLiteralOption(P->getPassArgument()); - Opt->removeArgument(P->getPassArgument()); - } - // ValLessThan - Provide a sorting comparator for Values elements... typedef std::pair<const char*, std::pair<const PassInfo*, const char*> > ValType; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits