diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2006-09-18 17:59:35 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-09-18 17:59:35 +0000 |
| commit | 3fbd67898e365f12436564a52d8995a4aeb4ef89 (patch) | |
| tree | 2e64579bd3d46fa287639fe1d0304c60d3838f5d /lib/CodeGen/AsmPrinter.cpp | |
| parent | e85fb6719a3cdd011359b9cdee27a175bfe5baf7 (diff) | |
absolute addresses must match pointer size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index f6b4bfcbfe..72650ba183 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/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. |
