summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86Subtarget.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
commitf659c0de6c7a4684a2a30c344ce6827ea87032d8 (patch)
treebc3df32103d9145ab4f5b7d24e6a76021439e127 /lib/Target/X86/X86Subtarget.h
parentf6088d126e9110180f7db231bb58da9230a09537 (diff)
downloadllvm-f659c0de6c7a4684a2a30c344ce6827ea87032d8.tar.gz
llvm-f659c0de6c7a4684a2a30c344ce6827ea87032d8.tar.bz2
llvm-f659c0de6c7a4684a2a30c344ce6827ea87032d8.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r--lib/Target/X86/X86Subtarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 7e9af2614c..387edc5698 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/lib/Target/X86/X86Subtarget.h
@@ -249,7 +249,7 @@ public:
}
bool isTargetLinux() const { return TargetTriple.getOS() == Triple::Linux; }
bool isTargetNaCl() const {
- return TargetTriple.getOS() == Triple::NativeClient;
+ return TargetTriple.getOS() == Triple::NaCl;
}
bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); }
bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); }