Reapply r110396, with fixes to appease the Linux buildbot gods.
llvm-svn: 110460
This commit is contained in:
@@ -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");
|
||||
|
||||
const PassInfo *const llvm::LowerInvokePassID = &X;
|
||||
char &llvm::LowerInvokePassID = LowerInvoke::ID;
|
||||
|
||||
// Public Interface To the LowerInvoke pass.
|
||||
FunctionPass *llvm::createLowerInvokePass(const TargetLowering *TLI) {
|
||||
|
||||
Reference in New Issue
Block a user