summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-07-08 20:53:28 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-07-08 20:53:28 +0000
commitfb8d6d5b585eaff2375db2dfd0f235e14c01a3d0 (patch)
tree51caa27009170c24962a0ca61b34e351914e3852 /llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
parentc9673d5baecca92a7f879e972de63b1e8b59aec8 (diff)
downloadbcm5719-llvm-fb8d6d5b585eaff2375db2dfd0f235e14c01a3d0.tar.gz
bcm5719-llvm-fb8d6d5b585eaff2375db2dfd0f235e14c01a3d0.zip
Implement changes from Chris's feedback.
Finish converting lib/Target. llvm-svn: 75043
Diffstat (limited to 'llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index b2604e89e71..837e389a188 100644
--- a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@ -406,7 +406,7 @@ printOperand(const MachineInstr *MI, int opNum)
break;
default:
- llvm_report_error("<unknown operand type>"); break;
+ LLVM_UNREACHABLE("<unknown operand type>");
}
if (closeP) O << ")";
@@ -545,11 +545,11 @@ printModuleLevelGV(const GlobalVariable* GVar) {
printSizeAndType = false;
break;
case GlobalValue::GhostLinkage:
- llvm_report_error("Should not have any unmaterialized functions!");
+ LLVM_UNREACHABLE("Should not have any unmaterialized functions!");
case GlobalValue::DLLImportLinkage:
- llvm_report_error("DLLImport linkage is not supported by this target!");
+ LLVM_UNREACHABLE("DLLImport linkage is not supported by this target!");
case GlobalValue::DLLExportLinkage:
- llvm_report_error("DLLExport linkage is not supported by this target!");
+ LLVM_UNREACHABLE("DLLExport linkage is not supported by this target!");
default:
LLVM_UNREACHABLE("Unknown linkage type!");
}
OpenPOWER on IntegriCloud