[WebAssembly] Fix return type of nextByte
authorThomas Lively <tlively@google.com>
Thu, 15 Nov 2018 18:56:49 +0000 (18:56 +0000)
committerThomas Lively <tlively@google.com>
Thu, 15 Nov 2018 18:56:49 +0000 (18:56 +0000)
commitfc3163b67a87e93e8beda976ccd16418ca879284
treec079e3f39c9d70e1b462a59185e9156886292c19
parent919fbbbcca6a6c137b2319aecf70cfb0f48136a0
[WebAssembly] Fix return type of nextByte

Summary:
The old return type did not allow for correct error reporting and was
causing a compiler warning.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D54586

llvm-svn: 346979
llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp