forked from OSchip/llvm-project
WebAssembly: fix build
r259016 didn't also revert r258957 which broken the WebAssembly build. llvm-svn: 259020
This commit is contained in:
parent
569f207018
commit
1e02c70ba3
|
@ -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