Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Issue 9689045: Library privacy. (Closed)

Created:
8 years, 9 months ago by ahe
Modified:
8 years, 9 months ago
Reviewers:
floitsch, ngeoffray, kasperl
CC:
reviews_dartlang.org, compiler-dev_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 16

Patch Set 2 : rebased #

Patch Set 3 : Address review comments #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -81 lines) Patch
M dart/frog/leg/elements/elements.dart View 1 3 chunks +9 lines, -3 lines 0 comments Download
M dart/frog/leg/emitter.dart View 1 2 3 4 10 chunks +57 lines, -23 lines 0 comments Download
M dart/frog/leg/namer.dart View 1 2 3 5 chunks +41 lines, -24 lines 0 comments Download
M dart/frog/leg/native_handler.dart View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M dart/frog/leg/scanner/keyword.dart View 1 chunk +1 line, -0 lines 0 comments Download
M dart/frog/leg/scanner/string_scanner.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M dart/frog/leg/scanner/token.dart View 1 2 chunks +4 lines, -0 lines 0 comments Download
M dart/frog/leg/ssa/builder.dart View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M dart/frog/leg/ssa/codegen.dart View 1 2 5 chunks +11 lines, -5 lines 0 comments Download
M dart/frog/leg/ssa/nodes.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/tests/leg/src/ArrayStaticInterceptTest.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M dart/frog/tests/leg/src/ConstantFoldingTest.dart View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M dart/frog/tests/leg/src/LiteralListTest.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M dart/frog/tests/leg/src/PrettyParameterTest.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M dart/frog/tests/leg/src/SsaPhiEliminatorTest.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/tests/leg/src/StaticClosureTest.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/tests/leg/src/TypeGuardUnuserTest.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M dart/tests/language/language-leg.status View 1 3 chunks +1 line, -4 lines 0 comments Download
M dart/tests/language/src/PrivateMember1NegativeTest.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
ahe
8 years, 9 months ago (2012-03-13 01:06:18 UTC) #1
ngeoffray
There are a few things where I'm not sure what you're doing. https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart ...
8 years, 9 months ago (2012-03-13 12:47:11 UTC) #2
floitsch
LGTM. https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart (right): https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart#newcode123 dart/frog/leg/namer.dart:123: name = getterName(lib, element.name); I agree that this ...
8 years, 9 months ago (2012-03-13 13:28:56 UTC) #3
kasperl
https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart (right): https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart#newcode43 dart/frog/leg/namer.dart:43: if (name.isPrivate()) { How about refactoring this pattern?
8 years, 9 months ago (2012-03-13 13:43:51 UTC) #4
ahe
Hi Kasper, Nicolas, and Florian, Thank you for your suggestions. Florian has a good point ...
8 years, 9 months ago (2012-03-13 15:48:58 UTC) #5
ngeoffray
Hi Peter, any updates on this CL? It is blocking swarm :)
8 years, 9 months ago (2012-03-17 20:59:09 UTC) #6
ahe
On 2012/03/17 20:59:09, ngeoffray wrote: > Hi Peter, any updates on this CL? It is ...
8 years, 9 months ago (2012-03-17 21:01:15 UTC) #7
ahe
On 2012/03/17 20:59:09, ngeoffray wrote: > Hi Peter, any updates on this CL? It is ...
8 years, 9 months ago (2012-03-17 21:01:15 UTC) #8
ngeoffray
On 2012/03/17 21:01:15, ahe wrote: > On 2012/03/17 20:59:09, ngeoffray wrote: > > Hi Peter, ...
8 years, 9 months ago (2012-03-17 21:06:14 UTC) #9
ahe
PTAL https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart (right): https://chromiumcodereview.appspot.com/9689045/diff/1/dart/frog/leg/namer.dart#newcode43 dart/frog/leg/namer.dart:43: if (name.isPrivate()) { On 2012/03/13 13:43:51, kasperl wrote: ...
8 years, 9 months ago (2012-03-17 22:19:44 UTC) #10
ngeoffray
LGTM! Nice that you actually don't have to do anything for statically resolved methods, due ...
8 years, 9 months ago (2012-03-18 11:49:59 UTC) #11
floitsch
LGTM. https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart (right): https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/namer.dart#newcode43 dart/frog/leg/namer.dart:43: return '_${getName(lib)}${name.slowToString()}'; Unless I'm wrong this means that ...
8 years, 9 months ago (2012-03-18 18:29:30 UTC) #12
ahe
Let me know what you think. https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart (right): https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/namer.dart#newcode43 dart/frog/leg/namer.dart:43: return '_${getName(lib)}${name.slowToString()}'; On ...
8 years, 9 months ago (2012-03-18 19:17:05 UTC) #13
ahe
Thank you. https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/namer.dart File dart/frog/leg/namer.dart (right): https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/namer.dart#newcode50 dart/frog/leg/namer.dart:50: // TODO(floitsch): mangle, while preserving uniqueness. On ...
8 years, 9 months ago (2012-03-18 21:12:04 UTC) #14
ahe
8 years, 9 months ago (2012-03-18 21:15:55 UTC) #15
https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/emitt...
File dart/frog/leg/emitter.dart (right):

https://chromiumcodereview.appspot.com/9689045/diff/13001/dart/frog/leg/emitt...
dart/frog/leg/emitter.dart:574: compiler.universe.libraries.getValues();
On 2012/03/18 11:49:59, ngeoffray wrote:
> missing 2 spaces.

Done.

Powered by Google App Engine
This is Rietveld 408576698