projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PGO] convert a subset of C++ interfaces into C (for sharing) (NFC)
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MachineLocation.h
diff --git
a/include/llvm/MC/MachineLocation.h
b/include/llvm/MC/MachineLocation.h
index 9cf855bb8995b0b1b0db0fb3323f757494bfedd1..4b5cf435779336c009dc586ec496e5ea0f47ba59 100644
(file)
--- a/
include/llvm/MC/MachineLocation.h
+++ b/
include/llvm/MC/MachineLocation.h
@@
-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