Reapply r110396, with fixes to appease the Linux buildbot gods.

llvm-svn: 110460
This commit is contained in:
Owen Anderson
2010-08-06 18:33:48 +00:00
parent e68958fcdf
commit a7aed18624
213 changed files with 496 additions and 490 deletions

View File

@@ -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) {