diff --git a/include/llvm/MC/MachineLocation.h b/include/llvm/MC/MachineLocation.h index 9cf855bb899..2a18615eff6 100644 --- a/include/llvm/MC/MachineLocation.h +++ b/include/llvm/MC/MachineLocation.h @@ -73,6 +73,11 @@ public: void dump(); #endif }; + +inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) { + return !(LHS == RHS); +} + } // End llvm namespace #endif