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

Issue 9873012: Move member-iterating code into ClassElement. (Closed)

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

Description

Move member-iterating code into ClassElement. Committed: https://code.google.com/p/dart/source/detail?r=6007

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -74 lines) Patch
M lib/compiler/implementation/compile_time_constants.dart View 1 2 chunks +20 lines, -27 lines 0 comments Download
M lib/compiler/implementation/elements/elements.dart View 1 1 chunk +46 lines, -0 lines 4 comments Download
M lib/compiler/implementation/emitter.dart View 1 2 chunks +17 lines, -29 lines 0 comments Download
M lib/compiler/implementation/ssa/builder.dart View 1 1 chunk +13 lines, -18 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
floitsch
8 years, 9 months ago (2012-03-28 00:53:09 UTC) #1
ngeoffray
looks good! Adding ahe@ and karlklose@, who may also be interested in reviewing this change.
8 years, 9 months ago (2012-03-28 15:05:37 UTC) #2
karlklose
LGTM. https://chromiumcodereview.appspot.com/9873012/diff/1/frog/leg/elements/elements.dart File frog/leg/elements/elements.dart (right): https://chromiumcodereview.appspot.com/9873012/diff/1/frog/leg/elements/elements.dart#newcode801 frog/leg/elements/elements.dart:801: I would remove this line, the structure of ...
8 years, 8 months ago (2012-03-29 10:48:04 UTC) #3
floitsch
https://chromiumcodereview.appspot.com/9873012/diff/1/frog/leg/elements/elements.dart File frog/leg/elements/elements.dart (right): https://chromiumcodereview.appspot.com/9873012/diff/1/frog/leg/elements/elements.dart#newcode801 frog/leg/elements/elements.dart:801: On 2012/03/29 10:48:04, karlklose wrote: > I would remove ...
8 years, 8 months ago (2012-03-29 22:44:50 UTC) #4
ahe
DBC https://chromiumcodereview.appspot.com/9873012/diff/5001/lib/compiler/implementation/elements/elements.dart File lib/compiler/implementation/elements/elements.dart (right): https://chromiumcodereview.appspot.com/9873012/diff/5001/lib/compiler/implementation/elements/elements.dart#newcode788 lib/compiler/implementation/elements/elements.dart:788: void forEachMember([void f(ClassElement enclosingClass, Element member), Why is ...
8 years, 8 months ago (2012-04-19 10:02:31 UTC) #5
floitsch
https://chromiumcodereview.appspot.com/9873012/diff/5001/lib/compiler/implementation/elements/elements.dart File lib/compiler/implementation/elements/elements.dart (right): https://chromiumcodereview.appspot.com/9873012/diff/5001/lib/compiler/implementation/elements/elements.dart#newcode788 lib/compiler/implementation/elements/elements.dart:788: void forEachMember([void f(ClassElement enclosingClass, Element member), On 2012/04/19 10:02:31, ...
8 years, 8 months ago (2012-04-19 10:41:32 UTC) #6
ahe
8 years, 8 months ago (2012-04-19 10:43:58 UTC) #7
https://chromiumcodereview.appspot.com/9873012/diff/5001/lib/compiler/impleme...
File lib/compiler/implementation/elements/elements.dart (right):

https://chromiumcodereview.appspot.com/9873012/diff/5001/lib/compiler/impleme...
lib/compiler/implementation/elements/elements.dart:788: void forEachMember([void
f(ClassElement enclosingClass, Element member),
On 2012/04/19 10:41:32, floitsch wrote:
> On 2012/04/19 10:02:31, ahe wrote:
> > Why is f optional?
> 
> So that you can give it a name and put it last.
> It is completely unreadable when the function is first.

I see.

Powered by Google App Engine
This is Rietveld 408576698