Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2061)

Issue 4646041: [pph] Fix cxx_binding streaming logic (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Gabriel Charette
Modified:
13 years ago
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn://gcc.gnu.org/svn/gcc/branches/pph/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -23 lines) Patch
M gcc/cp/pph-streamer-in.c View 1 chunk +7 lines, -13 lines 0 comments Download
M gcc/cp/pph-streamer-out.c View 1 chunk +7 lines, -10 lines 0 comments Download

Messages

Total messages: 2
Gabriel Charette
We were losing bindings when reassigning prev bindings with the current streaming logic. This doesn't ...
13 years ago (2011-06-16 18:57:19 UTC) #1
Diego Novillo
13 years ago (2011-06-17 11:20:49 UTC) #2
On Thu, Jun 16, 2011 at 18:57, Gabriel Charette <gchare@google.com> wrote:

> At the end of pph_out_cxx_binding I could also simply do
> pph_out_uchar (stream, PPH_RECORD_END);
> instead of
> pph_out_cxx_binding_1 (stream, NULL, ref_p);
> which has the exact same effect.

That's fine.  I kind of prefer the way you did it.

> 2011-06-16  Gabriel Charette  <gchare@google.com>
>
>        * gcc/cp/pph-streamer-in.c (pph_in_cxx_binding): Fix streaming logic.
>        * gcc/cp/pph-streamer-out.c (pph_out_cxx_binding): Fix streaming logic.

OK, committed in rev 175143.


Diego.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b