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:
b5c1698
)
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
llvm-svn: 244570
llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
b/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
index
1c24e44
..
a1c3350
100644
(file)
--- a/
llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
+++ b/
llvm/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;