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:
parent
62a2f2fb97
commit
7e9e1b3e1f
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user