[PATCH] D24991: Inline hot functions in libcxx shared_ptr implementation.

Kevin Hu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 3 14:59:19 PST 2017


hxy9243 set the repository for this revision to rL LLVM.
hxy9243 updated this revision to Diff 82958.
hxy9243 added a comment.

Move the header back in its place, and only copy over necessary parts. Now call __atomic_add_fetch from inside the functions.


Repository:
  rL LLVM

https://reviews.llvm.org/D24991

Files:
  libcxx/include/memory
  libcxx/src/memory.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24991.82958.patch
Type: text/x-patch
Size: 5303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170103/a41bbb49/attachment-0001.bin>


More information about the cfe-commits mailing list