aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index 269b958..b3e27c9 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -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;
}