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:
parent
be750fb67e
commit
d1c1542ac6
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user