forked from OSchip/llvm-project
[mips] Remove duplicated case from the `StringSwitch`. NFC
llvm-svn: 369562
This commit is contained in:
parent
c0f190a048
commit
bb2f857247
|
@ -304,7 +304,6 @@ Optional<MCFixupKind> MipsAsmBackend::getFixupKind(StringRef Name) const {
|
||||||
return StringSwitch<Optional<MCFixupKind>>(Name)
|
return StringSwitch<Optional<MCFixupKind>>(Name)
|
||||||
.Case("R_MIPS_NONE", FK_NONE)
|
.Case("R_MIPS_NONE", FK_NONE)
|
||||||
.Case("R_MIPS_32", FK_Data_4)
|
.Case("R_MIPS_32", FK_Data_4)
|
||||||
.Case("R_MIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_Mips_GOT_PAGE)
|
|
||||||
.Case("R_MIPS_CALL_HI16", (MCFixupKind)Mips::fixup_Mips_CALL_HI16)
|
.Case("R_MIPS_CALL_HI16", (MCFixupKind)Mips::fixup_Mips_CALL_HI16)
|
||||||
.Case("R_MIPS_CALL_LO16", (MCFixupKind)Mips::fixup_Mips_CALL_LO16)
|
.Case("R_MIPS_CALL_LO16", (MCFixupKind)Mips::fixup_Mips_CALL_LO16)
|
||||||
.Case("R_MIPS_CALL16", (MCFixupKind)Mips::fixup_Mips_CALL16)
|
.Case("R_MIPS_CALL16", (MCFixupKind)Mips::fixup_Mips_CALL16)
|
||||||
|
|
Loading…
Reference in New Issue