diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2014-04-01 18:15:34 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2014-04-01 18:15:34 +0000 |
commit | 136fe7db467841a45dffb947c7686f04aa75d6bb (patch) | |
tree | f1c986e0ed198b0adc94f33099cb69e2f813d786 /llvm/lib/Target/X86/X86TargetMachine.cpp | |
parent | 4e0999bc22656eb8e46775114a174ba4388e8ee6 (diff) | |
download | bcm5719-llvm-136fe7db467841a45dffb947c7686f04aa75d6bb.tar.gz bcm5719-llvm-136fe7db467841a45dffb947c7686f04aa75d6bb.zip |
isTargetWindows() renamed to isTargetKnownWindowsMSVC()
to reflect its current functionality.
Based on Takumi NAKAMURA suggestion.
llvm-svn: 205338
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index 8c326227fb2..6f09ccf0cec 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -39,7 +39,7 @@ static std::string computeDataLayout(const X86Subtarget &ST) { Ret += "-p:32:32"; // Some ABIs align 64 bit integers and doubles to 64 bits, others to 32. - if (ST.is64Bit() || ST.isTargetCygMing() || ST.isTargetWindows() || + if (ST.is64Bit() || ST.isTargetCygMing() || ST.isTargetKnownWindowsMSVC() || ST.isTargetNaCl()) Ret += "-i64:64"; else @@ -60,7 +60,7 @@ static std::string computeDataLayout(const X86Subtarget &ST) { Ret += "-n8:16:32"; // The stack is aligned to 32 bits on some ABIs and 128 bits on others. - if (!ST.is64Bit() && (ST.isTargetCygMing() || ST.isTargetWindows())) + if (!ST.is64Bit() && (ST.isTargetCygMing() || ST.isTargetKnownWindowsMSVC())) Ret += "-S32"; else Ret += "-S128"; |