diff options
| author | David Blaikie <dblaikie@gmail.com> | 2012-01-16 23:24:27 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2012-01-16 23:24:27 +0000 |
| commit | 486df738c305eeb148d557a94777f2c04aa72d40 (patch) | |
| tree | bc1953ce53be6eb05f8602c42ed18e93473437c1 /llvm/lib/Target/Mips/MipsJITInfo.cpp | |
| parent | b1691ccaaa50f432f24d67759d9e78052f34cacd (diff) | |
| download | bcm5719-llvm-486df738c305eeb148d557a94777f2c04aa72d40.tar.gz bcm5719-llvm-486df738c305eeb148d557a94777f2c04aa72d40.zip | |
Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.
(This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them)
llvm-svn: 148262
Diffstat (limited to 'llvm/lib/Target/Mips/MipsJITInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsJITInfo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsJITInfo.cpp b/llvm/lib/Target/Mips/MipsJITInfo.cpp index 27d5918c8b6..b15d290d6ca 100644 --- a/llvm/lib/Target/Mips/MipsJITInfo.cpp +++ b/llvm/lib/Target/Mips/MipsJITInfo.cpp @@ -228,9 +228,6 @@ void MipsJITInfo::relocate(void *Function, MachineRelocation *MR, *((unsigned*) RelocPos) |= (unsigned) ResultPtr; break; } - - default: - llvm_unreachable("ERROR: Unknown Mips relocation."); } } } |

