We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dfeb96 commit 2d36934Copy full SHA for 2d36934
IGC/DebugInfo/VISADebugDecoder.hpp
@@ -46,7 +46,7 @@ class DbgDecoder {
46
uint16_t regNum;
47
uint16_t subRegNum; // for GRF, in byte offset
48
49
- bool operator==(const Register &rhs) {
+ bool operator==(const Register &rhs) const {
50
return (regNum == rhs.regNum && subRegNum == rhs.subRegNum);
51
}
52
@@ -59,7 +59,7 @@ class DbgDecoder {
59
// off BE_FP (0) or absolute (1)
60
int32_t memoryOffset : 31; // memory offset
61
62
- bool operator==(const Memory &rhs) {
+ bool operator==(const Memory &rhs) const {
63
return (isBaseOffBEFP == rhs.isBaseOffBEFP &&
64
memoryOffset == rhs.memoryOffset);
65
0 commit comments