forked from OSchip/llvm-project
Assert. Rather than silently stop printing.
llvm-svn: 28794
This commit is contained in:
parent
1dfdffb9b2
commit
df63179d95
|
@ -536,6 +536,8 @@ void AsmPrinter::EmitGlobalConstant(const Constant *CV) {
|
|||
break;
|
||||
case Type::PointerTyID:
|
||||
if (TD->getPointerSize() == 8) {
|
||||
assert(Data64bitsDirective &&
|
||||
"Target cannot handle 64-bit pointer exprs!");
|
||||
O << Data64bitsDirective;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue