Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git] / lib / ExecutionEngine / JIT / JITDwarfEmitter.cpp
index b73b0bd76c322b89262a542eb4e554414836123c..3b10a952d7f4c6c8bf66c1aed38b78e475e8a91a 100644 (file)
@@ -172,6 +172,8 @@ static bool PadLT(const LandingPadInfo *L, const LandingPadInfo *R) {
   return LSize < RSize;
 }
 
+namespace {
+
 struct KeyInfo {
   static inline unsigned getEmptyKey() { return -1U; }
   static inline unsigned getTombstoneKey() { return -2U; }
@@ -205,6 +207,8 @@ struct CallSiteEntry {
   unsigned Action;
 };
 
+}
+
 unsigned char* JITDwarfEmitter::EmitExceptionTable(MachineFunction* MF,
                                          unsigned char* StartFunction,
                                          unsigned char* EndFunction) const {