HomePhabricator

[WebAssembly] Pass ownership of body to SyntheticFunction. NFC

Authored by ncw on Mar 2 2018, 6:48 AM.

Description

[WebAssembly] Pass ownership of body to SyntheticFunction. NFC

This avoids the Writer unnecessarily having a member to retain ownership
of the function body.

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

llvm-svn: 326580

Details