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

Issue 4921052: [pph] Cleanup line_table and includes streaming (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Gabriel Charette
Modified:
12 years, 10 months ago
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -72 lines) Patch
M gcc/cp/pph-streamer.h View 1 chunk +13 lines, -13 lines 0 comments Download
M gcc/cp/pph-streamer-in.c View 9 chunks +55 lines, -36 lines 0 comments Download
M gcc/cp/pph-streamer-out.c View 6 chunks +33 lines, -23 lines 0 comments Download

Messages

Total messages: 2
Gabriel Charette
This is a refactoring patch, it doesn't change/fix anything in pph itself. I extracted out/in ...
12 years, 10 months ago (2011-08-22 18:20:42 UTC) #1
Diego Novillo
12 years, 10 months ago (2011-08-22 18:38:14 UTC) #2
On 11-08-22 14:20 , Gabriel Charette wrote:

> 2011-08-22  Gabriel Charette<gchare@google.com>
>
> 	* pph-streamer-in.c (pph_loc_offset): Add FIXME to move this variable
> 	to pph_stream.encoder.r
> 	(pph_in_include): New.
> 	(pph_in_line_table_and_includes): Remove LINETAB parameter. Update
> 	all users to use global LINE_TABLE instead.
> 	Remove code moved to new function pph_in_include. And call it.
> 	(pph_read_file_1): Remove extra parameter in call to
> 	pph_in_line_table_and_includes.
> 	* pph-streamer-out.c (pph_out_include): New.
> 	(pph_get_next_include): Fix comment.
> 	(pph_out_line_table_and_includes): Remove LINETAB parameter. Update
> 	all users to use global LINE_TABLE instead.
> 	Remove code moved to new function pph_out_include. And call it.
> 	* gcc/cp/pph-streamer.h (pph_stream): Fix indenting.

OK.


Diego.
Sign in to reply to this message.

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