[llvm] r259020 - WebAssembly: fix build
JF Bastien via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 21:05:18 PST 2016
Author: jfb
Date: Wed Jan 27 23:05:17 2016
New Revision: 259020
URL: http://llvm.org/viewvc/llvm-project?rev=259020&view=rev
Log:
WebAssembly: fix build
r259016 didn't also revert r258957 which broken the WebAssembly build.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp?rev=259020&r1=259019&r2=259020&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp Wed Jan 27 23:05:17 2016
@@ -310,7 +310,7 @@ bool WebAssemblyTargetLowering::allowsMi
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.
More information about the llvm-commits
mailing list