[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.
rLLD LLVM Linker
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4044 bytes
Desc: not available
More information about the llvm-commits