[PATCH] D43933: [WebAssembly] Pass ownership of body to SyntheticFunction and assert type. NFC
Nicholas Wilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 1 02:29:45 PST 2018
ncw created this revision.
ncw added reviewers: sbc100, ruiu.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff, jfb.
This avoids the Writer unnecessarily having a member to retain ownership of the function body. The type assertion isn't checked anywhere else but isn't critical, it will just cause the file to fail validation.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D43933
Files:
wasm/InputChunks.h
wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43933.136484.patch
Type: text/x-patch
Size: 4044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180301/f56747fe/attachment.bin>
More information about the llvm-commits
mailing list