Namespacify. Add accessor function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-09-30 20:14:07 +00:00
parent f858f7f380
commit ccb87cdf07

View File

@ -20,6 +20,8 @@
#include "llvm/Support/CFG.h"
using namespace llvm;
namespace llvm {
namespace {
enum Color{
WHITE,
@ -108,3 +110,9 @@ bool EmitFunctionTable::runOnModule(Module &M){
M.getGlobalList().push_back(fnCount);
return true; // Always modifies program
}
ModulePass *createEmitFunctionTablePass () {
return new EmitFunctionTable();
}
} // end namespace llvm