diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-27 18:03:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-27 18:03:40 +0000 |
commit | c8be5be9688bba63d7af40a5e2ffd7f6a731b4c7 (patch) | |
tree | abef32fe756d46d91755f1ade2639d13b4b8faa9 /llvm/lib/Target | |
parent | 45275a4d3c52f9db6efae83c52192c5269da7704 (diff) | |
download | bcm5719-llvm-c8be5be9688bba63d7af40a5e2ffd7f6a731b4c7.tar.gz bcm5719-llvm-c8be5be9688bba63d7af40a5e2ffd7f6a731b4c7.zip |
Unbreak wasm build after r258951.
llvm-svn: 258957
Diffstat (limited to 'llvm/lib/Target')
-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 d801934d0fb..0a0ddc4ea95 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. |