From fb8d6d5b585eaff2375db2dfd0f235e14c01a3d0 Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Wed, 8 Jul 2009 20:53:28 +0000 Subject: Implement changes from Chris's feedback. Finish converting lib/Target. llvm-svn: 75043 --- llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp') 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(""); break; + LLVM_UNREACHABLE(""); } 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!"); } -- cgit v1.2.3