diff options
author | Owen Anderson <resistor@mac.com> | 2010-08-06 00:23:35 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-08-06 00:23:35 +0000 |
commit | bda59bd247b1153e4bc19f85dee4cb594b9c2b32 (patch) | |
tree | 669b82d1ff890ce19f7c3ad68f66975f9eafb681 /llvm/lib/Transforms/Utils/LowerInvoke.cpp | |
parent | 396e041f5eac1cf6eda07e94ff34c3f2f4905ead (diff) | |
download | bcm5719-llvm-bda59bd247b1153e4bc19f85dee4cb594b9c2b32.tar.gz bcm5719-llvm-bda59bd247b1153e4bc19f85dee4cb594b9c2b32.zip |
Revert r110396 to fix buildbots.
llvm-svn: 110410
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerInvoke.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LowerInvoke.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerInvoke.cpp b/llvm/lib/Transforms/Utils/LowerInvoke.cpp index f239a9970d8..2696e6913f3 100644 --- a/llvm/lib/Transforms/Utils/LowerInvoke.cpp +++ b/llvm/lib/Transforms/Utils/LowerInvoke.cpp @@ -78,7 +78,7 @@ namespace { static char ID; // Pass identification, replacement for typeid explicit LowerInvoke(const TargetLowering *tli = NULL, bool useExpensiveEHSupport = ExpensiveEHSupport) - : FunctionPass(ID), useExpensiveEHSupport(useExpensiveEHSupport), + : FunctionPass(&ID), useExpensiveEHSupport(useExpensiveEHSupport), TLI(tli) { } bool doInitialization(Module &M); bool runOnFunction(Function &F); @@ -103,7 +103,7 @@ char LowerInvoke::ID = 0; static RegisterPass<LowerInvoke> X("lowerinvoke", "Lower invoke and unwind, for unwindless code generators"); -char &llvm::LowerInvokePassID = LowerInvoke::ID; +const PassInfo *const llvm::LowerInvokePassID = &X; // Public Interface To the LowerInvoke pass. FunctionPass *llvm::createLowerInvokePass(const TargetLowering *TLI) { |