diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-28 11:26:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-28 11:26:34 +0000 |
commit | 16e0f147a964fb6af5e8344614d2b86906561f1f (patch) | |
tree | 381012e6e74129b0d374a72e278e3a045a006fac /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | |
parent | 838eabcd46b7518d87bbdc583a929e9c3bcd3a98 (diff) | |
download | bcm5719-llvm-16e0f147a964fb6af5e8344614d2b86906561f1f.tar.gz bcm5719-llvm-16e0f147a964fb6af5e8344614d2b86906561f1f.zip |
Unbreak the wasm backend again after r259035.
llvm-svn: 259040
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index 8d909d518cc..ee6c46faea5 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp @@ -255,7 +255,7 @@ bool WebAssemblyTargetLowering::allowsMisalignedMemoryAccesses( 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. |