summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-09-18 17:59:35 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-09-18 17:59:35 +0000
commitc50458fb90f8c53c92f8d2855e484afa26134033 (patch)
tree621d368dc50af7bf5380481a25f0670c29b5956f /llvm/lib/CodeGen/AsmPrinter.cpp
parentd30bba331f0f7451b9cd98a7fcbf9ea7b08eb131 (diff)
downloadbcm5719-llvm-c50458fb90f8c53c92f8d2855e484afa26134033.tar.gz
bcm5719-llvm-c50458fb90f8c53c92f8d2855e484afa26134033.zip
absolute addresses must match pointer size
llvm-svn: 30461
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index f6b4bfcbfe3..72650ba183c 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -714,6 +714,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
if (OpNo >= MI->getNumOperands()) {
Error = true;
+ std::cerr << "Too many operands\n";
} else {
unsigned OpFlags = MI->getOperand(OpNo).getImmedValue();
++OpNo; // Skip over the ID number.
OpenPOWER on IntegriCloud