mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-18 17:39:04 +00:00
Revert "ADT: correctly report isMSVCEnvironment for windows itanium"
This reverts commit r222180. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e092ac163
commit
8083adcaca
@ -371,7 +371,6 @@ public:
|
||||
bool isWindowsMSVCEnvironment() const {
|
||||
return getOS() == Triple::Win32 &&
|
||||
(getEnvironment() == Triple::UnknownEnvironment ||
|
||||
getEnvironment() == Triple::Itanium ||
|
||||
getEnvironment() == Triple::MSVC);
|
||||
}
|
||||
|
||||
|
@ -221,7 +221,7 @@ static MCAsmInfo *createARMMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
|
||||
MAI = new ARMMCAsmInfoDarwin(TT);
|
||||
else if (TheTriple.isWindowsItaniumEnvironment())
|
||||
MAI = new ARMCOFFMCAsmInfoGNU();
|
||||
else if (TheTriple.isKnownWindowsMSVCEnvironment())
|
||||
else if (TheTriple.isWindowsMSVCEnvironment())
|
||||
MAI = new ARMCOFFMCAsmInfoMicrosoft();
|
||||
else
|
||||
MAI = new ARMELFMCAsmInfo(TT);
|
||||
|
@ -270,7 +270,7 @@ static MCAsmInfo *createX86MCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
|
||||
} else if (TheTriple.isOSBinFormatELF()) {
|
||||
// Force the use of an ELF container.
|
||||
MAI = new X86ELFMCAsmInfo(TheTriple);
|
||||
} else if (TheTriple.isKnownWindowsMSVCEnvironment()) {
|
||||
} else if (TheTriple.isWindowsMSVCEnvironment()) {
|
||||
MAI = new X86MCAsmInfoMicrosoft(TheTriple);
|
||||
} else if (TheTriple.isOSCygMing() ||
|
||||
TheTriple.isWindowsItaniumEnvironment()) {
|
||||
|
Loading…
Reference in New Issue
Block a user