mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include "llvm/Constant.h"
|
||||
#include "Support/Statistic.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
namespace {
|
||||
Statistic<> NumLowered("lowerinvoke", "Number of invoke & unwinds replaced");
|
||||
|
||||
@@ -37,6 +39,7 @@ namespace {
|
||||
X("lowerinvoke", "Lower invoke and unwind, for unwindless code generators");
|
||||
}
|
||||
|
||||
// Public Interface To the LowerInvoke pass.
|
||||
FunctionPass *createLowerInvokePass() { return new LowerInvoke(); }
|
||||
|
||||
// doInitialization - Make sure that there is a prototype for abort in the
|
||||
@@ -79,3 +82,5 @@ bool LowerInvoke::runOnFunction(Function &F) {
|
||||
}
|
||||
return Changed;
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user