This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Return ArrayRef's rather than const std::vector&
ClosedPublic

Authored by sbc100 on Dec 14 2017, 5:15 PM.

Details

Summary

From working on lld I've learned this is generally the
preferred way for several reasons (e.g. more concise, improves
encapsulation).

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Dec 14 2017, 5:15 PM
sbc100 updated this revision to Diff 127055.Dec 14 2017, 5:17 PM
  • revert parts
dschuff accepted this revision.Dec 15 2017, 2:17 PM
This revision is now accepted and ready to land.Dec 15 2017, 2:17 PM
This revision was automatically updated to reflect the committed changes.