mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
WebAssembly: fix build
r259016 didn't also revert r258957 which broken the WebAssembly build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1e9f2f407
commit
d1b64bf251
@ -310,7 +310,7 @@ bool WebAssemblyTargetLowering::allowsMisalignedMemoryAccesses(
|
||||
static void fail(SDLoc DL, SelectionDAG &DAG, const char *msg) {
|
||||
MachineFunction &MF = DAG.getMachineFunction();
|
||||
DAG.getContext()->diagnose(
|
||||
DiagnosticInfoUnsupported(*MF.getFunction(), msg, DL));
|
||||
DiagnosticInfoUnsupported(DL, *MF.getFunction(), msg, SDValue()));
|
||||
}
|
||||
|
||||
// Test whether the given calling convention is supported.
|
||||
|
Loading…
Reference in New Issue
Block a user