[lld] r326301 - [WebAssembly] Fix variable name.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 19:43:38 PST 2018


Author: ruiu
Date: Tue Feb 27 19:43:38 2018
New Revision: 326301

URL: http://llvm.org/viewvc/llvm-project?rev=326301&view=rev
Log:
[WebAssembly] Fix variable name.

Modified:
    lld/trunk/wasm/WriterUtils.cpp

Modified: lld/trunk/wasm/WriterUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/WriterUtils.cpp?rev=326301&r1=326300&r2=326301&view=diff
==============================================================================
--- lld/trunk/wasm/WriterUtils.cpp (original)
+++ lld/trunk/wasm/WriterUtils.cpp Tue Feb 27 19:43:38 2018
@@ -63,7 +63,7 @@ void wasm::writeStr(raw_ostream &OS, Str
   OS.write(String.data(), String.size());
 }
 
-void wasm::writeU8(raw_ostream &OS, uint8_t byte, StringRef Msg) { OS << byte; }
+void wasm::writeU8(raw_ostream &OS, uint8_t Byte, StringRef Msg) { OS << Byte; }
 
 void wasm::writeU32(raw_ostream &OS, uint32_t Number, StringRef Msg) {
   debugWrite(OS.tell(), Msg + "[" + utohexstr(Number) + "]");




More information about the llvm-commits mailing list