summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2016-01-28 05:05:17 +0000
committerJF Bastien <jfb@google.com>2016-01-28 05:05:17 +0000
commit1e02c70ba30ddd7c0ba7ad92d1e910441f5f7c60 (patch)
treef058f5c87e66bda08ca6261772574b575de9faa2 /llvm/lib/Target
parent569f2070185a31a1a36c9c6075ff4eced23bac47 (diff)
downloadbcm5719-llvm-1e02c70ba30ddd7c0ba7ad92d1e910441f5f7c60.tar.gz
bcm5719-llvm-1e02c70ba30ddd7c0ba7ad92d1e910441f5f7c60.zip
WebAssembly: fix build
r259016 didn't also revert r258957 which broken the WebAssembly build. llvm-svn: 259020
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index c12016b8d2a..5211fe72267 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -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.
OpenPOWER on IntegriCloud