mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-24 08:18:33 +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:
@@ -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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user