mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Assert. Rather than silently stop printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4432fac14
commit
a9767f6218
@ -536,6 +536,8 @@ void AsmPrinter::EmitGlobalConstant(const Constant *CV) {
|
|||||||
break;
|
break;
|
||||||
case Type::PointerTyID:
|
case Type::PointerTyID:
|
||||||
if (TD->getPointerSize() == 8) {
|
if (TD->getPointerSize() == 8) {
|
||||||
|
assert(Data64bitsDirective &&
|
||||||
|
"Target cannot handle 64-bit pointer exprs!");
|
||||||
O << Data64bitsDirective;
|
O << Data64bitsDirective;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user