mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
one more assertion!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
033bcee4ef
commit
885ce84ab8
@ -360,8 +360,10 @@ void X86ATTAsmPrinter::print_pcrel_imm(const MachineInstr *MI, unsigned OpNo) {
|
|||||||
if (shouldPrintPLT(TM, Subtarget)) {
|
if (shouldPrintPLT(TM, Subtarget)) {
|
||||||
// Assemble call via PLT for externally visible symbols
|
// Assemble call via PLT for externally visible symbols
|
||||||
if (!GV->hasHiddenVisibility() && !GV->hasProtectedVisibility() &&
|
if (!GV->hasHiddenVisibility() && !GV->hasProtectedVisibility() &&
|
||||||
!GV->hasLocalLinkage())
|
!GV->hasLocalLinkage()) {
|
||||||
O << "@PLT";
|
O << "@PLT";
|
||||||
|
assert(MO.getTargetFlags() == 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (Subtarget->isTargetCygMing() && GV->isDeclaration())
|
if (Subtarget->isTargetCygMing() && GV->isDeclaration())
|
||||||
// Save function name for later type emission
|
// Save function name for later type emission
|
||||||
|
Loading…
Reference in New Issue
Block a user