[llvm] r258957 - Unbreak wasm build after r258951.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 10:03:41 PST 2016
Author: d0k
Date: Wed Jan 27 12:03:40 2016
New Revision: 258957
URL: http://llvm.org/viewvc/llvm-project?rev=258957&view=rev
Log:
Unbreak wasm build after r258951.
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=258957&r1=258956&r2=258957&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp Wed Jan 27 12:03:40 2016
@@ -255,7 +255,7 @@ bool WebAssemblyTargetLowering::allowsMi
static void fail(SDLoc DL, SelectionDAG &DAG, const char *msg) {
MachineFunction &MF = DAG.getMachineFunction();
DAG.getContext()->diagnose(
- DiagnosticInfoUnsupported(DL, *MF.getFunction(), msg, SDValue()));
+ DiagnosticInfoUnsupported(*MF.getFunction(), msg, DL));
}
// Test whether the given calling convention is supported.
More information about the llvm-commits
mailing list