summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86Subtarget.cpp
diff options
context:
space:
mode:
authorDavid Meyer <pdox@google.com>2011-10-18 05:29:23 +0000
committerDavid Meyer <pdox@google.com>2011-10-18 05:29:23 +0000
commit928698b14e4bcd0f231dc28e246920a242d81fc1 (patch)
treef6578e23faa251daa18e12a3d593a480faba6cf9 /lib/Target/X86/X86Subtarget.cpp
parentfe04757f5e06ab15208ac0a2ab8d7e83c62b9f0d (diff)
downloadllvm-928698b14e4bcd0f231dc28e246920a242d81fc1.tar.gz
llvm-928698b14e4bcd0f231dc28e246920a242d81fc1.tar.bz2
llvm-928698b14e4bcd0f231dc28e246920a242d81fc1.tar.xz
Remove NaClMode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r--lib/Target/X86/X86Subtarget.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index 45a8c2f1e8..fd8ef19139 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/lib/Target/X86/X86Subtarget.cpp
@@ -321,8 +321,7 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &CPU,
// FIXME: this is a known good value for Yonah. How about others?
, MaxInlineSizeThreshold(128)
, TargetTriple(TT)
- , In64BitMode(is64Bit)
- , InNaClMode(false) {
+ , In64BitMode(is64Bit) {
// Determine default and user specified characteristics
if (!FS.empty() || !CPU.empty()) {
std::string CPUName = CPU;
@@ -368,11 +367,6 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &CPU,
if (In64BitMode)
ToggleFeature(X86::Mode64Bit);
- if (isTargetNaCl()) {
- InNaClMode = true;
- ToggleFeature(X86::ModeNaCl);
- }
-
if (HasAVX)
X86SSELevel = NoMMXSSE;