mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Use MMI->getPersonality() instead of MMI->getPersonalities()[MMI->getPersonalityIndex()]
Also nuke the comment about supporting multiple personalities in a single function, aka PR1414. That's just crazy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226052 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -88,8 +88,7 @@ void ARMException::endFunction(const MachineFunction *) {
|
||||
Asm->getFunctionNumber()));
|
||||
if (!MMI->getLandingPads().empty()) {
|
||||
// Emit references to personality.
|
||||
if (const Function * Personality =
|
||||
MMI->getPersonalities()[MMI->getPersonalityIndex()]) {
|
||||
if (const Function *Personality = MMI->getPersonality()) {
|
||||
MCSymbol *PerSym = Asm->getSymbol(Personality);
|
||||
Asm->OutStreamer.EmitSymbolAttribute(PerSym, MCSA_Global);
|
||||
ATS.emitPersonality(PerSym);
|
||||
|
Reference in New Issue
Block a user