mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
bbf728edeb
commit
660538c8a5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user