projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4432fa
)
Assert. Rather than silently stop printing.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 15 Jun 2006 08:10:56 +0000
(08:10 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 15 Jun 2006 08:10:56 +0000
(08:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28794
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index 269b9586070c4df0c694203a525f4ccd7c5afe31..b3e27c9970f330dac9f1cd0fdf748916fa6cf267 100644
(file)
--- 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;
}