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

Issue 5574069: code review 5574069: exp/types: generalized GCImporter API. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by gri
Modified:
13 years, 8 months ago
Reviewers:
CC:
golang-dev, lvd1, rsc
Visibility:
Public.

Description

exp/types: generalized GCImporter API. - Renamed ExportData -> FindGcExportData and base it on an a bufio.Reader rather than a filename so it can be used in environments where object files are stored elsewhere. - Factor former GcImporter into GcImportData and GcImport. Implementations with different storage locations for object files can build a customized GcImport using GcImportData. This is pkg/exp only - no impact on Go 1.

Patch Set 1 #

Patch Set 2 : diff -r 7de66de3961c https://code.google.com/p/go #

Patch Set 3 : diff -r a2a95054f3bd https://code.google.com/p/go #

Patch Set 4 : diff -r a77c0f5964b9 https://code.google.com/p/go #

Patch Set 5 : diff -r a77c0f5964b9 https://code.google.com/p/go #

Patch Set 6 : diff -r 81b5bb873a0c https://code.google.com/p/go #

Patch Set 7 : diff -r c8614af8523a https://code.google.com/p/go #

Patch Set 8 : diff -r 87d50a70f7d2 https://code.google.com/p/go #

Patch Set 9 : diff -r 87d50a70f7d2 https://code.google.com/p/go #

Patch Set 10 : diff -r 87d50a70f7d2 https://code.google.com/p/go #

Patch Set 11 : diff -r 556341822a38 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -107 lines) Patch
M src/pkg/exp/gotype/gotype.go View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/exp/types/check_test.go View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/exp/types/exportdata.go View 1 2 3 4 5 7 chunks +14 lines, -38 lines 0 comments Download
M src/pkg/exp/types/gcimporter.go View 1 2 3 4 5 6 7 8 5 chunks +99 lines, -58 lines 0 comments Download
M src/pkg/exp/types/gcimporter_test.go View 1 2 3 4 5 6 7 3 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 4
gri
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
13 years, 9 months ago (2012-03-20 23:07:45 UTC) #1
lvd1
LGTM
13 years, 8 months ago (2012-03-24 08:40:21 UTC) #2
rsc
LGTM
13 years, 8 months ago (2012-03-26 18:05:54 UTC) #3
gri
13 years, 8 months ago (2012-03-26 18:26:10 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=de7e784537ac ***

exp/types: generalized GCImporter API.

- Renamed ExportData -> FindGcExportData
  and base it on an a bufio.Reader rather
  than a filename so it can be used in
  environments where object files are
  stored elsewhere.

- Factor former GcImporter into GcImportData
  and GcImport. Implementations with different
  storage locations for object files can build
  a customized GcImport using GcImportData.

This is pkg/exp only - no impact on Go 1.

R=golang-dev, lvd, rsc
CC=golang-dev
http://codereview.appspot.com/5574069
Sign in to reply to this message.

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