mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Eliminate AsmPrinter::EmitExternalGlobal, inlining its (now)
one implementation into its one caller. This eliminates a totally awesome and gratuitous hack where we casted a Function* to GlobalVariable*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -163,7 +163,7 @@ void DwarfException::EmitCIE(const Function *Personality, unsigned Index) {
|
||||
O << MAI->getData32bitsDirective();
|
||||
|
||||
O << MAI->getPersonalityPrefix();
|
||||
Asm->EmitExternalGlobal((const GlobalVariable *)(Personality));
|
||||
O << Asm->Mang->getMangledName(Personality);
|
||||
O << MAI->getPersonalitySuffix();
|
||||
|
||||
if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL"))
|
||||
|
Reference in New Issue
Block a user