[PATCH] D43713: [WebAssembly] Inline accessor functions that are called only once.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 16:28:00 PST 2018
ruiu added inline comments.
================
Comment at: lld/wasm/InputFiles.cpp:68
-uint32_t ObjFile::relocateTypeIndex(uint32_t Original) const {
- assert(TypeIsUsed[Original]);
- return TypeMap[Original];
----------------
sbc100 wrote:
> I think this assert is useful. It ensures the type is valid and part of the output.
Done.
https://reviews.llvm.org/D43713
More information about the llvm-commits
mailing list