This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Refactor WasmObjectWriter::writeObject
ClosedPublic

Authored by sbc100 on Jun 1 2017, 11:41 AM.

Details

Summary

The size of this function was getting a little out of.
control. Split code for writing each section type into
separate functions.

No intended changes to semantics.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Jun 1 2017, 11:41 AM
sbc100 edited the summary of this revision. (Show Details)Jun 1 2017, 11:43 AM
sbc100 added a reviewer: sunfish.
sunfish accepted this revision.Jun 2 2017, 4:47 PM

Thanks for refactoring this!

This revision is now accepted and ready to land.Jun 2 2017, 4:47 PM
This revision was automatically updated to reflect the committed changes.