This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trans-mem] Beginning of refactoring
- From: Richard Henderson <rth at redhat dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 01 Jul 2011 13:32:00 -0700
- Subject: Re: [trans-mem] Beginning of refactoring
- References: <1306357828.13348.423.camel@triegel.csb> <1309551790.5106.3.camel@triegel.csb>
On 07/01/2011 01:23 PM, Torvald Riegel wrote:
> Add vector-like container, use it for gtm_transaction::undo_log.
>
> * containers.h: New file.
> * util.cc (xmalloc, xrealloc): Accept cacheline-alloc flag.
> * libitm_i.h (xmalloc, xrealloc): Moved declarations from here ...
> * common.h: ... to here.
> (local_undo): Use GTM::vector for gtm_transaction::local_undo.
> * local.cc: Same.
Ok.
r~