mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Implement changes from Chris's feedback.
Finish converting lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -185,7 +185,7 @@ void SparcAsmPrinter::printOperand(const MachineInstr *MI, int opNum) {
|
||||
<< MO.getIndex();
|
||||
break;
|
||||
default:
|
||||
llvm_report_error("<unknown operand type>"); break;
|
||||
LLVM_UNREACHABLE("<unknown operand type>");
|
||||
}
|
||||
if (CloseParen) O << ")";
|
||||
}
|
||||
@@ -299,11 +299,11 @@ void SparcAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) {
|
||||
case GlobalValue::InternalLinkage:
|
||||
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!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user