1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

SparcJITInfo.cpp: Prune "default:" label to fix a warning. [-Wcovered-switch-default]

llvm-svn: 192179
This commit is contained in:
NAKAMURA Takumi 2013-10-08 10:29:09 +00:00
parent 18fc7c1446
commit f37e42a504

View File

@ -140,7 +140,6 @@ void SparcJITInfo::relocate(void *Function, MachineRelocation *MR,
intptr_t ResultPtr = (intptr_t) MR->getResultPointer();
switch ((SP::RelocationType) MR->getRelocationType()) {
default: llvm_unreachable("Unknown reloc!");
case SP::reloc_sparc_hi:
ResultPtr = (ResultPtr >> 10) & 0x3fffff;
break;