projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddbe812
)
WebAssembly: NFC fix release build break, unused variable.
author
JF Bastien
<jfb@google.com>
Tue, 11 Aug 2015 04:52:24 +0000
(
04:52
+0000)
committer
JF Bastien
<jfb@google.com>
Tue, 11 Aug 2015 04:52:24 +0000
(
04:52
+0000)
Summary: Caused by D11914, pointed out by blaikie.
Subscribers: llvm-commits, jfb, dblaikie
Differential Revision: http://reviews.llvm.org/D11929
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244570
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
b/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
index 1c24e445a92a0981a1d8561cc89afa7208af4509..a1c3350ed73051c2ed854a51acdc73ef9c4eb8f7 100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
@@
-126,6
+126,7
@@
void WebAssemblyAsmPrinter::EmitInstruction(const MachineInstr *MI) {
auto Written =
FP.convertToHexString(buf, /*hexDigits=*/0, /*upperCase=*/false,
APFloat::rmNearestTiesToEven);
+ (void)Written;
assert(Written != 0);
assert(Written < BufBytes);
OS << ' ' << buf;