1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add helper for checking of Thumb1 mode

llvm-svn: 73080
This commit is contained in:
Anton Korobeynikov 2009-06-08 20:31:02 +00:00
parent 62a2f2fb97
commit 7e9e1b3e1f

View File

@ -105,6 +105,7 @@ protected:
bool isAAPCS_ABI() const { return TargetABI == ARM_ABI_AAPCS; }
bool isThumb() const { return IsThumb; }
bool isThumb1() const { return IsThumb && (ThumbMode == Thumb1); }
bool isThumb2() const { return IsThumb && (ThumbMode >= Thumb2); }
bool useThumbBacktraces() const { return UseThumbBacktraces; }