Don't put static functions in anonymous namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-03-10 22:36:31 +00:00
parent 8aa90feb3d
commit fc232b08f3

View File

@ -48,16 +48,12 @@ static RegisterPass<DwarfWriter>
X("dwarfwriter", "DWARF Information Writer");
char DwarfWriter::ID = 0;
namespace {
static TimerGroup *DwarfTimerGroup = 0;
static TimerGroup *getDwarfTimerGroup() {
if (DwarfTimerGroup) return DwarfTimerGroup;
return DwarfTimerGroup = new TimerGroup("Dwarf Exception and Debugging");
}
} // end anonymous namespace
namespace llvm {
//===----------------------------------------------------------------------===//