Remove dummy cast. NFC.

llvm-svn: 303948
This commit is contained in:
Rafael Espindola 2017-05-26 00:37:39 +00:00
parent a60c9bced5
commit f307d3ea4d
1 changed files with 1 additions and 1 deletions

View File

@ -2183,7 +2183,7 @@ ARMExidxSentinelSection::ARMExidxSentinelSection()
// | PREL31 upper bound of code that has exception tables | EXIDX_CANTUNWIND |
void ARMExidxSentinelSection::writeTo(uint8_t *Buf) {
// Get the InputSection before us, we are by definition last
auto RI = cast<OutputSection>(this->OutSec)->Sections.rbegin();
auto RI = this->OutSec->Sections.rbegin();
InputSection *LE = *(++RI);
InputSection *LC = cast<InputSection>(LE->getLinkOrderDep());
uint64_t S = LC->OutSec->Addr + LC->getOffset(LC->getSize());