This is an archive of the discontinued LLVM Phabricator instance.

[llgo] drop use of __go_new_nopointers
AbandonedPublic

Authored by axw on Aug 8 2015, 6:06 AM.

Details

Reviewers
pcc
Summary

__go_new_nopointers has been removed from
libgo, so we need to migrate away from it
before we can update. It was only used in
two places (via fr.createMalloc), for
converting between []byte and string. libgo
has functions for both of these, so we now
use them instead.

Diff Detail

Event Timeline

axw updated this revision to Diff 31577.Aug 8 2015, 6:06 AM
axw retitled this revision from to [llgo] drop use of __go_new_nopointers.
axw updated this object.
axw added a reviewer: pcc.
axw added a subscriber: llvm-commits.
axw updated this revision to Diff 31578.Aug 8 2015, 6:08 AM

Fix ordering of __go_byte_array_to_string

pcc accepted this revision.Aug 17 2015, 12:12 AM
pcc edited edge metadata.

LGTM, but I have a slight preference for making this change at the same time as the libgo roll, as it looks like this may regress the allocator strategy for small objects (grep for FlagNoScan).

This revision is now accepted and ready to land.Aug 17 2015, 12:12 AM
axw abandoned this revision.Jan 26 2016, 10:47 PM

Superceded by D15188