mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Replacing an empty switch with its moral equivalent. No functional changes intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac2de33d2a
commit
80095e5f8e
@ -54,11 +54,7 @@ static MCSubtargetInfo *createMBlazeMCSubtargetInfo(StringRef TT, StringRef CPU,
|
||||
}
|
||||
|
||||
static MCAsmInfo *createMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
|
||||
Triple TheTriple(TT);
|
||||
switch (TheTriple.getOS()) {
|
||||
default:
|
||||
return new MBlazeMCAsmInfo();
|
||||
}
|
||||
return new MBlazeMCAsmInfo();
|
||||
}
|
||||
|
||||
static MCCodeGenInfo *createMBlazeMCCodeGenInfo(StringRef TT, Reloc::Model RM,
|
||||
|
@ -114,9 +114,7 @@ bool R600InstrInfo::isPlaceHolderOpcode(unsigned Opcode) const {
|
||||
}
|
||||
|
||||
bool R600InstrInfo::isReductionOp(unsigned Opcode) const {
|
||||
switch(Opcode) {
|
||||
default: return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool R600InstrInfo::isCubeOp(unsigned Opcode) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user