projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
569f207
)
WebAssembly: fix build
author
JF Bastien
<jfb@google.com>
Thu, 28 Jan 2016 05:05:17 +0000
(
05:05
+0000)
committer
JF Bastien
<jfb@google.com>
Thu, 28 Jan 2016 05:05:17 +0000
(
05:05
+0000)
r259016 didn't also revert r258957 which broken the WebAssembly build.
llvm-svn: 259020
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index
c12016b
..
5211fe7
100644
(file)
--- 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.