Handle 64-bit constant exprs on 64-bit targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-08-08 04:26:32 +00:00
parent bbf728edeb
commit 660538c8a5

View File

@ -302,7 +302,9 @@ void AsmPrinter::emitGlobalConstant(const Constant *CV) {
O << Data32bitsDirective;
break;
case Type::ULongTyID: case Type::LongTyID:
assert (0 && "Should have already output double-word constant.");
assert(Data64bitsDirective &&"Target cannot handle 64-bit constant exprs!");
O << Data64bitsDirective;
break;
case Type::FloatTyID: case Type::DoubleTyID:
assert (0 && "Should have already output floating point constant.");
default: