diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-06 22:29:14 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-06 22:29:14 +0000 |
commit | 3147fb2cff9ca0d258f8ab20ff23b9c447024df1 (patch) | |
tree | c5d6cf6a0087f657bd2c43ad6097373bd2971038 | |
parent | 36a0aebac21bb72328ce72a55df6f3fe62c68b7f (diff) |
isThumb2 really should mean thumb2 only, not thumb2+.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74871 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 5110b3157c..60c3bd13ed 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -108,7 +108,7 @@ protected: bool isThumb() const { return IsThumb; } bool isThumb1Only() const { return IsThumb && (ThumbMode == Thumb1); } - bool isThumb2() const { return IsThumb && (ThumbMode >= Thumb2); } + bool isThumb2() const { return IsThumb && (ThumbMode == Thumb2); } bool hasThumb2() const { return ThumbMode >= Thumb2; } bool isR9Reserved() const { return IsR9Reserved; } |