projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c76230b
)
Add const qualifiers.
author
Dan Gohman
<gohman@apple.com>
Wed, 9 Apr 2008 18:31:41 +0000
(18:31 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 9 Apr 2008 18:31:41 +0000
(18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49443
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instruction.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instruction.h
b/include/llvm/Instruction.h
index 51da49f09f753fa0ab8935fd7cb179cfa82e1310..fe688112f10e095cf6bd4a53cd7fac7a30e66f15 100644
(file)
--- a/
include/llvm/Instruction.h
+++ b/
include/llvm/Instruction.h
@@
-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;
}