commit | bda59bd247b1153e4bc19f85dee4cb594b9c2b32 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Fri Aug 06 00:23:35 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Fri Aug 06 00:23:35 2010 +0000 |
tree | 669b82d1ff890ce19f7c3ad68f66975f9eafb681 | |
parent | 396e041f5eac1cf6eda07e94ff34c3f2f4905ead [diff] [blame] |
Revert r110396 to fix buildbots. llvm-svn: 110410
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp index bbdc728..6913fd0 100644 --- a/llvm/tools/bugpoint/ExtractFunction.cpp +++ b/llvm/tools/bugpoint/ExtractFunction.cpp
@@ -100,8 +100,7 @@ } static const PassInfo *getPI(Pass *P) { - const void *ID = P->getPassID(); - const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); + const PassInfo *PI = P->getPassInfo(); delete P; return PI; }