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 8618f95caf
commit cd41a9019e
1 changed files with 1 additions and 0 deletions

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; }