diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-10 12:21:52 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-10 12:21:52 +0000 |
| commit | 788ba15113276a5bde7a8a0c92230d8cf0aeb053 (patch) | |
| tree | edc795e799e906aeba043dfa7ff16809a8f29813 /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | |
| parent | 0891366571b2cf3e4e27d40af228fe5bd9e4e755 (diff) | |
| download | bcm5719-llvm-788ba15113276a5bde7a8a0c92230d8cf0aeb053.tar.gz bcm5719-llvm-788ba15113276a5bde7a8a0c92230d8cf0aeb053.zip | |
Fix -Wparentheses warning. NFCI.
llvm-svn: 374326
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index aff379585f2..f06afdbcea9 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp @@ -861,8 +861,8 @@ SDValue WebAssemblyTargetLowering::LowerReturn( const SmallVectorImpl<ISD::OutputArg> &Outs, const SmallVectorImpl<SDValue> &OutVals, const SDLoc &DL, SelectionDAG &DAG) const { - assert(Subtarget->hasMultivalue() || - Outs.size() <= 1 && "MVP WebAssembly can only return up to one value"); + assert((Subtarget->hasMultivalue() || Outs.size() <= 1) && + "MVP WebAssembly can only return up to one value"); if (!callingConvSupported(CallConv)) fail(DL, DAG, "WebAssembly doesn't support non-C calling conventions"); |

