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

Issue 9146001: continued cleanup of initialization and Value (Closed)

Created:
8 years, 11 months ago by jimhug
Modified:
8 years, 11 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org
Visibility:
Public.

Description

continued cleanup of initialization and Value Less code, more tests passing... EvaluatedValue and MethodGenerator.evalBody are both in the right direction but will be evolving fairly rapidly to get to a fully cleaned up state. Committed: https://code.google.com/p/dart/source/detail?r=3077

Patch Set 1 #

Patch Set 2 : touchups to comments #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+1313 lines, -1311 lines) Patch
M frog/gen.dart View 8 chunks +142 lines, -153 lines 4 comments Download
M frog/member.dart View 9 chunks +58 lines, -220 lines 2 comments Download
M frog/minfrog View 190 chunks +806 lines, -828 lines 0 comments Download
M frog/value.dart View 1 14 chunks +305 lines, -82 lines 0 comments Download
M tests/corelib/corelib.status View 2 chunks +1 line, -10 lines 0 comments Download
M tests/language/language.status View 5 chunks +1 line, -18 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jimhug
tbr This is probably the first of the weekend's reviews worth taking a close look ...
8 years, 11 months ago (2012-01-09 03:41:01 UTC) #1
Jennifer Messerly
lgtm! http://codereview.chromium.org/9146001/diff/2001/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/9146001/diff/2001/frog/gen.dart#newcode1128 frog/gen.dart:1128: newObject.dynamic.seenNativeInitializer = true; I see you've embraced the ...
8 years, 11 months ago (2012-01-09 20:45:34 UTC) #2
jimhug
8 years, 11 months ago (2012-01-09 21:12:17 UTC) #3
Thanks for the comments - I'm preparing a followup CL with responses to all
three of your reviews.

http://codereview.chromium.org/9146001/diff/2001/frog/gen.dart
File frog/gen.dart (right):

http://codereview.chromium.org/9146001/diff/2001/frog/gen.dart#newcode1135
frog/gen.dart:1135: // TODO(jimhug): bareCount is O(N)
On 2012/01/09 20:45:35, John Messerly wrote:
> It gets cached though. So it's amortized O(1)
I'd missed that!  Thanks, I'll remove the comment.

http://codereview.chromium.org/9146001/diff/2001/frog/member.dart
File frog/member.dart (right):

http://codereview.chromium.org/9146001/diff/2001/frog/member.dart#newcode1071
frog/member.dart:1071: // ??? Does args.values include named args???
On 2012/01/09 20:45:35, John Messerly wrote:
> add a TODO here?

I've figured out the answer - so I'll remove the comment entirely.  The answer
is as expected and it does include named args.

Powered by Google App Engine
This is Rietveld 408576698