Add inequality operator for MachineLocation.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Apr 2014 21:54:52 +0000 (21:54 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Apr 2014 21:54:52 +0000 (21:54 +0000)
Fixes the build I broke in r205360

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205361 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MachineLocation.h

index 9cf855bb8995b0b1b0db0fb3323f757494bfedd1..2a18615eff6253367ecbc74ccda6747c65970628 100644 (file)
@@ -73,6 +73,11 @@ public:
   void dump();
 #endif
 };
+
+inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) {
+  return !(LHS == RHS);
+}
+
 } // End llvm namespace
 
 #endif