1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

Unbreak the build

This commit is contained in:
Benjamin Kramer 2020-04-15 15:54:47 +02:00
parent be750fb67e
commit d1c1542ac6

View File

@ -8175,8 +8175,8 @@ void SelectionDAGBuilder::visitInlineAsm(const CallBase &Call) {
if (Register::isPhysicalRegister(Reg) &&
TRI.isInlineAsmReadOnlyReg(MF, Reg)) {
const char *RegName = TRI.getName(Reg);
emitInlineAsmError(CS, "write to reserved register '" +
Twine(RegName) + "'");
emitInlineAsmError(Call, "write to reserved register '" +
Twine(RegName) + "'");
return true;
}
}