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

Issue 10916053: Get rid of duplication of class node unparsing. (Closed)

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

Description

Get rid of duplication of class node unparsing. R=smok@google.com Committed: https://code.google.com/p/dart/source/detail?r=11752

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -47 lines) Patch
M lib/compiler/implementation/dart_backend/emitter.dart View 1 2 1 chunk +5 lines, -28 lines 0 comments Download
M lib/compiler/implementation/tree/unparser.dart View 1 2 3 1 chunk +26 lines, -13 lines 0 comments Download
M tests/compiler/dart2js/unparser2_test.dart View 1 2 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Anton Muhin
8 years, 3 months ago (2012-08-31 13:26:48 UTC) #1
Roman
https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart File lib/compiler/implementation/dart_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart#newcode11 lib/compiler/implementation/dart_backend/emitter.dart:11: unparser.sb = new StringBuffer(); This hack does not look ...
8 years, 3 months ago (2012-08-31 13:52:15 UTC) #2
Anton Muhin
https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart File lib/compiler/implementation/dart_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart#newcode11 lib/compiler/implementation/dart_backend/emitter.dart:11: unparser.sb = new StringBuffer(); On 2012/08/31 13:52:15, Roman wrote: ...
8 years, 3 months ago (2012-08-31 14:01:09 UTC) #3
Roman
https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart File lib/compiler/implementation/dart_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart#newcode11 lib/compiler/implementation/dart_backend/emitter.dart:11: unparser.sb = new StringBuffer(); On 2012/08/31 14:01:09, Anton Muhin ...
8 years, 3 months ago (2012-08-31 15:39:00 UTC) #4
Anton Muhin
https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart File lib/compiler/implementation/dart_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart#newcode11 lib/compiler/implementation/dart_backend/emitter.dart:11: unparser.sb = new StringBuffer(); On 2012/08/31 15:39:00, Roman wrote: ...
8 years, 3 months ago (2012-08-31 15:47:48 UTC) #5
Roman
https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart File lib/compiler/implementation/dart_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart#newcode11 lib/compiler/implementation/dart_backend/emitter.dart:11: unparser.sb = new StringBuffer(); On 2012/08/31 15:47:48, Anton Muhin ...
8 years, 3 months ago (2012-08-31 16:49:55 UTC) #6
Anton Muhin
https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart File lib/compiler/implementation/dart_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/1/lib/compiler/implementation/dart_backend/emitter.dart#newcode11 lib/compiler/implementation/dart_backend/emitter.dart:11: unparser.sb = new StringBuffer(); Sure, I agree with you. ...
8 years, 3 months ago (2012-08-31 18:13:22 UTC) #7
Anton Muhin
PTAL
8 years, 3 months ago (2012-09-03 09:39:54 UTC) #8
Roman
lgtm https://chromiumcodereview.appspot.com/10916053/diff/5004/lib/compiler/implementation/tree/unparser.dart File lib/compiler/implementation/tree/unparser.dart (right): https://chromiumcodereview.appspot.com/10916053/diff/5004/lib/compiler/implementation/tree/unparser.dart#newcode69 lib/compiler/implementation/tree/unparser.dart:69: unparseClassWithBody(ClassNode node, classBodyEmitter) { did we agree on ...
8 years, 3 months ago (2012-09-03 09:43:23 UTC) #9
Anton Muhin
8 years, 3 months ago (2012-09-03 09:52:03 UTC) #10
https://chromiumcodereview.appspot.com/10916053/diff/5004/lib/compiler/implem...
File lib/compiler/implementation/tree/unparser.dart (right):

https://chromiumcodereview.appspot.com/10916053/diff/5004/lib/compiler/implem...
lib/compiler/implementation/tree/unparser.dart:69:
unparseClassWithBody(ClassNode node, classBodyEmitter) {
On 2012/09/03 09:43:23, Roman wrote:
> did we agree on 'void classBodyEmitter()' ?

Done.

Powered by Google App Engine
This is Rietveld 408576698