[llvm] r259040 - Unbreak the wasm backend again after r259035.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 03:26:34 PST 2016


Author: d0k
Date: Thu Jan 28 05:26:34 2016
New Revision: 259040

URL: http://llvm.org/viewvc/llvm-project?rev=259040&view=rev
Log:
Unbreak the wasm backend again after r259035.

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=259040&r1=259039&r2=259040&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp Thu Jan 28 05:26:34 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