[PGO] convert a subset of C++ interfaces into C (for sharing) (NFC)
[oota-llvm.git] / include / llvm / MC / MachineLocation.h
index 9cf855bb8995b0b1b0db0fb3323f757494bfedd1..4b5cf435779336c009dc586ec496e5ea0f47ba59 100644 (file)
@@ -68,11 +68,12 @@ public:
     Register = R;
     Offset = O;
   }
-
-#ifndef NDEBUG
-  void dump();
-#endif
 };
+
+inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) {
+  return !(LHS == RHS);
+}
+
 } // End llvm namespace
 
 #endif