1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Add const qualifiers.

llvm-svn: 49443
This commit is contained in:
Dan Gohman 2008-04-09 18:31:41 +00:00
parent f03c4d87c0
commit 0586403622

View File

@ -127,13 +127,13 @@ public:
/// isLogicalShift - Return true if this is a logical shift left or a logical
/// shift right.
inline bool isLogicalShift() {
inline bool isLogicalShift() const {
return getOpcode() == Shl || getOpcode() == LShr;
}
/// isLogicalShift - Return true if this is a logical shift left or a logical
/// shift right.
inline bool isArithmeticShift() {
inline bool isArithmeticShift() const {
return getOpcode() == AShr;
}