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:
parent
18fc7c1446
commit
f37e42a504
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user