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

Issue 9114053: Record names of constructors and use that to implement Object.toString. (Closed)

Created:
8 years, 11 months ago by ahe
Modified:
8 years, 11 months ago
CC:
reviews_dartlang.org, ngeoffray, kasperl, karlklose
Visibility:
Public.

Description

Record names of constructors and use that to implement Object.toString. Committed: https://code.google.com/p/dart/source/detail?r=3183

Patch Set 1 #

Total comments: 5

Patch Set 2 : Work on IE #

Total comments: 1

Patch Set 3 : Avoid constant folding #

Total comments: 1

Patch Set 4 : rebased #

Patch Set 5 : Status file and golden test #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -26 lines) Patch
M dart/frog/leg/emitter.dart View 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/leg/lib/core.dart View 1 2 3 3 chunks +13 lines, -18 lines 0 comments Download
M dart/frog/leg/ssa/nodes.dart View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M dart/frog/tests/leg/src/ClassCodegenTest.dart View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
A dart/frog/tests/leg_only/src/ToStringTest.dart View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M dart/tests/language/language-leg.status View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
ahe
You'll probably tell me this is wrong for a 100 different reasons. But I gotta ...
8 years, 11 months ago (2012-01-10 23:57:00 UTC) #1
floitsch
LGTM.
8 years, 11 months ago (2012-01-11 09:46:42 UTC) #2
Lasse Reichstein
LGTM with comments. http://codereview.chromium.org/9114053/diff/1/dart/frog/leg/emitter.dart File dart/frog/leg/emitter.dart (right): http://codereview.chromium.org/9114053/diff/1/dart/frog/leg/emitter.dart#newcode103 dart/frog/leg/emitter.dart:103: buffer.add('$className = function ${classElement.name}('); I like ...
8 years, 11 months ago (2012-01-11 09:49:15 UTC) #3
ahe
Hi Lasse and Florian, Thank you for taking a look. I have uploaded a new ...
8 years, 11 months ago (2012-01-11 11:01:23 UTC) #4
floitsch
SLGTM. http://codereview.chromium.org/9114053/diff/5002/dart/frog/leg/lib/core.dart File dart/frog/leg/lib/core.dart (right): http://codereview.chromium.org/9114053/diff/5002/dart/frog/leg/lib/core.dart#newcode51 dart/frog/leg/lib/core.dart:51: if (JS("bool", @"typeof $0 === 'string'", b) || ...
8 years, 11 months ago (2012-01-11 11:52:39 UTC) #5
ahe
PTAL
8 years, 11 months ago (2012-01-11 12:29:04 UTC) #6
ngeoffray
LGTM http://codereview.chromium.org/9114053/diff/9001/dart/frog/leg/ssa/nodes.dart File dart/frog/leg/ssa/nodes.dart (left): http://codereview.chromium.org/9114053/diff/9001/dart/frog/leg/ssa/nodes.dart#oldcode1200 dart/frog/leg/ssa/nodes.dart:1200: if (type.isUnknown()) return HType.NUMBER; Crying :-)
8 years, 11 months ago (2012-01-11 12:30:13 UTC) #7
ahe
8 years, 11 months ago (2012-01-11 14:30:40 UTC) #8
Before submitting, I had to make a few changes to the language status file (one
more test passing), and the golden output test
dart/frog/tests/leg/src/ClassCodegenTest.dart.

Powered by Google App Engine
This is Rietveld 408576698