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

Issue 10456080: Remove printDebugInfo from Unparser (Closed)

Created:
8 years, 6 months ago by Roman
Modified:
8 years, 6 months ago
Reviewers:
ahe, Anton Muhin, ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove printDebugInfo from Unparser BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=8478

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address Anton's comments. #

Total comments: 4

Patch Set 3 : Get back toDebugString() #

Patch Set 4 : another PrettyPrinter interface #

Total comments: 2

Patch Set 5 : toDebugString() in tree validator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -15 lines) Patch
M lib/compiler/implementation/tree/nodes.dart View 1 2 3 1 chunk +12 lines, -4 lines 0 comments Download
M lib/compiler/implementation/tree/unparser.dart View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download
M lib/compiler/implementation/tree_validator.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/unparse_validator.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Roman
ping. Or did I forgot to mail this issue to you guys?
8 years, 6 months ago (2012-06-05 09:29:44 UTC) #1
Anton Muhin
almost LGTM https://chromiumcodereview.appspot.com/10456080/diff/1/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (right): https://chromiumcodereview.appspot.com/10456080/diff/1/lib/compiler/implementation/tree/nodes.dart#newcode106 lib/compiler/implementation/tree/nodes.dart:106: String unparse(bool printDebugInfo) { do we really ...
8 years, 6 months ago (2012-06-05 09:35:19 UTC) #2
Roman
https://chromiumcodereview.appspot.com/10456080/diff/1/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (right): https://chromiumcodereview.appspot.com/10456080/diff/1/lib/compiler/implementation/tree/nodes.dart#newcode106 lib/compiler/implementation/tree/nodes.dart:106: String unparse(bool printDebugInfo) { On 2012/06/05 09:35:19, antonmuhin wrote: ...
8 years, 6 months ago (2012-06-05 11:09:06 UTC) #3
Anton Muhin
lgtm https://chromiumcodereview.appspot.com/10456080/diff/1/lib/compiler/implementation/tree/unparser.dart File lib/compiler/implementation/tree/unparser.dart (left): https://chromiumcodereview.appspot.com/10456080/diff/1/lib/compiler/implementation/tree/unparser.dart#oldcode22 lib/compiler/implementation/tree/unparser.dart:22: if (node !== null) { You may want ...
8 years, 6 months ago (2012-06-05 11:39:21 UTC) #4
Roman
Adding Nicolas because Peter is too busy with other issues.
8 years, 6 months ago (2012-06-07 13:28:26 UTC) #5
ahe
https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (left): https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart#oldcode95 lib/compiler/implementation/tree/nodes.dart:95: toDebugString() => unparse(true); I assumed we would keep toDebugString, ...
8 years, 6 months ago (2012-06-08 07:43:35 UTC) #6
Roman
https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (left): https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart#oldcode95 lib/compiler/implementation/tree/nodes.dart:95: toDebugString() => unparse(true); On 2012/06/08 07:43:36, ahe wrote: > ...
8 years, 6 months ago (2012-06-08 08:13:12 UTC) #7
ahe
https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (left): https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart#oldcode95 lib/compiler/implementation/tree/nodes.dart:95: toDebugString() => unparse(true); On 2012/06/08 08:13:12, Roman wrote: > ...
8 years, 6 months ago (2012-06-08 08:16:56 UTC) #8
Roman
https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (left): https://chromiumcodereview.appspot.com/10456080/diff/4001/lib/compiler/implementation/tree/nodes.dart#oldcode95 lib/compiler/implementation/tree/nodes.dart:95: toDebugString() => unparse(true); On 2012/06/08 08:16:56, ahe wrote: > ...
8 years, 6 months ago (2012-06-08 12:33:33 UTC) #9
ahe
LGTM! https://chromiumcodereview.appspot.com/10456080/diff/10005/lib/compiler/implementation/tree_validator.dart File lib/compiler/implementation/tree_validator.dart (right): https://chromiumcodereview.appspot.com/10456080/diff/10005/lib/compiler/implementation/tree_validator.dart#newcode63 lib/compiler/implementation/tree_validator.dart:63: String nodeString = new Unparser().unparse(node); I think this ...
8 years, 6 months ago (2012-06-08 13:05:18 UTC) #10
Roman
8 years, 6 months ago (2012-06-08 13:18:51 UTC) #11
https://chromiumcodereview.appspot.com/10456080/diff/10005/lib/compiler/imple...
File lib/compiler/implementation/tree_validator.dart (right):

https://chromiumcodereview.appspot.com/10456080/diff/10005/lib/compiler/imple...
lib/compiler/implementation/tree_validator.dart:63: String nodeString = new
Unparser().unparse(node);
On 2012/06/08 13:05:18, ahe wrote:
> I think this should be node.toDebugString().

Done.

Powered by Google App Engine
This is Rietveld 408576698