aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-12-17 23:06:42 +0000
committerBob Wilson <bob.wilson@apple.com>2010-12-17 23:06:42 +0000
commit9bb43e167576d464637c480eccc5696e01e1887c (patch)
treeb6716fa49cb836099d258715e39ba834fe3e9930 /lib/Target/ARM/ARMAsmPrinter.cpp
parent26156456dd30e93456c2e3c154c48678dfea639b (diff)
downloadexternal_llvm-9bb43e167576d464637c480eccc5696e01e1887c.zip
external_llvm-9bb43e167576d464637c480eccc5696e01e1887c.tar.gz
external_llvm-9bb43e167576d464637c480eccc5696e01e1887c.tar.bz2
Avoid report_fatal_error in ARM's PrintAsmOperand method.
The standard error handling in AsmPrinter::EmitInlineAsm handles this much better, so just use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index ae80891..1c5997e 100644
--- a/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -286,7 +286,7 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
case 'Q':
case 'R':
case 'H':
- report_fatal_error("llvm does not support 'Q', 'R', and 'H' modifiers!");
+ // These modifiers are not yet supported.
return true;
}
}