forked from OSchip/llvm-project
[WebAssembly] Update LibFunc::Func -> LibFunc
Fixes compile failures after r292848 llvm-svn: 292857
This commit is contained in:
parent
251c204e57
commit
4b320b72a2
|
@ -127,7 +127,7 @@ bool WebAssemblyPeephole::runOnMachineFunction(MachineFunction &MF) {
|
|||
if (Name == TLI.getLibcallName(RTLIB::MEMCPY) ||
|
||||
Name == TLI.getLibcallName(RTLIB::MEMMOVE) ||
|
||||
Name == TLI.getLibcallName(RTLIB::MEMSET)) {
|
||||
LibFunc::Func Func;
|
||||
LibFunc Func;
|
||||
if (LibInfo.getLibFunc(Name, Func)) {
|
||||
const auto &Op2 = MI.getOperand(2);
|
||||
if (!Op2.isReg())
|
||||
|
|
|
@ -154,7 +154,7 @@ static bool optimizeCall(MachineBasicBlock &MBB, MachineInstr &MI,
|
|||
if (!callReturnsInput)
|
||||
return false;
|
||||
|
||||
LibFunc::Func Func;
|
||||
LibFunc Func;
|
||||
if (!LibInfo.getLibFunc(Name, Func))
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue