Don't pollute the global namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114459 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp
index 199e500..fd5fe78 100644
--- a/lib/CodeGen/LiveInterval.cpp
+++ b/lib/CodeGen/LiveInterval.cpp
@@ -31,6 +31,7 @@
 using namespace llvm;
 
 // CompEnd - Compare LiveRange end to Pos.
+namespace {
 struct CompEnd {
   bool operator()(SlotIndex Pos, const LiveRange &LR) const {
     return Pos < LR.end;
@@ -39,6 +40,7 @@
     return LR.end < Pos;
   }
 };
+}
 
 LiveInterval::iterator LiveInterval::find(SlotIndex Pos) {
   return std::upper_bound(begin(), end(), Pos, CompEnd());