Skip to content

Commit fcb1b70

Browse files
committed
Use reportFatalInternalError
1 parent 36a5b10 commit fcb1b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/MC/MCCodeEmitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ void MCCodeEmitter::reportUnsupportedInst(const MCInst &Inst) {
2222
std::string Msg;
2323
raw_string_ostream OS(Msg);
2424
OS << "Unsupported instruction : " << Inst;
25-
report_fatal_error(Msg.c_str());
25+
reportFatalInternalError(Msg.c_str());
2626
}
2727

2828
void MCCodeEmitter::reportUnsupportedOperand(const MCInst &Inst,
2929
unsigned OpNum) {
3030
std::string Msg;
3131
raw_string_ostream OS(Msg);
3232
OS << "Unsupported instruction/operand : \"" << Inst << "\"[" << OpNum << "]";
33-
report_fatal_error(Msg.c_str());
33+
reportFatalInternalError(Msg.c_str());
3434
}

0 commit comments

Comments
 (0)