Index: src/IceRegistersARM32.h |
diff --git a/src/IceRegistersARM32.h b/src/IceRegistersARM32.h |
index 8941a9e770a6fd2bb5fb392be3e4c6b26064ddef..6c091c5f0fbe6ad5b86e076d1612406ee13eb2b7 100644 |
--- a/src/IceRegistersARM32.h |
+++ b/src/IceRegistersARM32.h |
@@ -207,7 +207,7 @@ static inline QRegister getEncodedQReg(RegNumT RegNum) { |
return QRegister(RegTable[RegNum].Encoding); |
} |
-static inline IceString getRegName(RegNumT RegNum) { |
+static inline const char *getRegName(RegNumT RegNum) { |
RegNum.assertIsValid(); |
return RegTable[RegNum].Name; |
} |