summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-04 18:37:26 +0000
committerEli Bendersky <eliben@google.com>2012-12-04 18:37:26 +0000
commitabe546368b779e6ba19dbb194500a33c58ecabaa (patch)
tree44f3013baacd07e9f231b65405ac72ffede46858 /llvm/lib/Target/ARM/ARMSubtarget.h
parent4a7dc6e3e684449830aed0924519e080e54ff41b (diff)
downloadbcm5719-llvm-abe546368b779e6ba19dbb194500a33c58ecabaa.tar.gz
bcm5719-llvm-abe546368b779e6ba19dbb194500a33c58ecabaa.zip
Make NaCl naming consistent. The triple OSType is called NaCl and is represented
textually as NativeClient. Also added a link to the native client project for readers unfamiliar with it. A Clang patch will follow shortly. llvm-svn: 169291
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 46898cfd8fc..c7e3adcb512 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -244,7 +244,7 @@ protected:
bool isTargetIOS() const { return TargetTriple.getOS() == Triple::IOS; }
bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); }
bool isTargetNaCl() const {
- return TargetTriple.getOS() == Triple::NativeClient;
+ return TargetTriple.getOS() == Triple::NaCl;
}
bool isTargetELF() const { return !isTargetDarwin(); }
OpenPOWER on IntegriCloud