summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-04-19 21:14:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-04-19 21:14:45 +0000
commit2b9b0e3748def043c0e4b1bc62e61a48133d4dd4 (patch)
tree819eb53ddd91cff1fbb4baf65d8303134dce7d39 /llvm/lib/Target/ARM/ARMSubtarget.h
parent163a0966a92bb989b1d91c59be5943a4f2988cf7 (diff)
downloadbcm5719-llvm-2b9b0e3748def043c0e4b1bc62e61a48133d4dd4.tar.gz
bcm5719-llvm-2b9b0e3748def043c0e4b1bc62e61a48133d4dd4.zip
ADT/Triple: Move a variety of clients to using isOSDarwin() and isOSWindows()
predicates. llvm-svn: 129816
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 5bce87f1415..f880bc958fe 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -201,7 +201,7 @@ protected:
bool hasFP16() const { return HasFP16; }
bool hasD16() const { return HasD16; }
- bool isTargetDarwin() const { return TargetTriple.getOS() == Triple::Darwin; }
+ bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); }
bool isTargetELF() const { return !isTargetDarwin(); }
bool isAPCS_ABI() const { return TargetABI == ARM_ABI_APCS; }
OpenPOWER on IntegriCloud