forked from OSchip/llvm-project
[Driver][Mips] Fix else-after-return.
No functional changes. llvm-svn: 211984
This commit is contained in:
parent
755d7f9c28
commit
98ba8a657d
|
@ -5523,11 +5523,12 @@ public:
|
||||||
if (Name == "o32" || Name == "eabi") {
|
if (Name == "o32" || Name == "eabi") {
|
||||||
ABI = Name;
|
ABI = Name;
|
||||||
return true;
|
return true;
|
||||||
} else if (Name == "32") {
|
}
|
||||||
|
if (Name == "32") {
|
||||||
ABI = "o32";
|
ABI = "o32";
|
||||||
return true;
|
return true;
|
||||||
} else
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
void getTargetDefines(const LangOptions &Opts,
|
void getTargetDefines(const LangOptions &Opts,
|
||||||
MacroBuilder &Builder) const override {
|
MacroBuilder &Builder) const override {
|
||||||
|
@ -5661,7 +5662,8 @@ public:
|
||||||
setN32ABITypes();
|
setN32ABITypes();
|
||||||
ABI = Name;
|
ABI = Name;
|
||||||
return true;
|
return true;
|
||||||
} else if (Name == "n64" || Name == "64") {
|
}
|
||||||
|
if (Name == "n64" || Name == "64") {
|
||||||
setN64ABITypes();
|
setN64ABITypes();
|
||||||
ABI = "n64";
|
ABI = "n64";
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue