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

Issue 10870008: dart2dart Rename statics as globals. (Closed)

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

Description

dart2dart Rename statics as globals. Committed: https://code.google.com/p/dart/source/detail?r=11159

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -22 lines) Patch
M lib/compiler/implementation/dart_backend/placeholder_collector.dart View 1 2 5 chunks +9 lines, -19 lines 0 comments Download
M lib/compiler/implementation/dart_backend/renamer.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
M tests/compiler/dart2js/unparser_test.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Roman
Attempt to remove statics as top-level elements.
8 years, 4 months ago (2012-08-22 08:53:37 UTC) #1
Anton Muhin
why we want to rename statics? Does it make us shadow anything?
8 years, 4 months ago (2012-08-22 09:05:47 UTC) #2
Anton Muhin
lgtm w/ discussed modifications
8 years, 4 months ago (2012-08-22 13:55:51 UTC) #3
Roman
PTAL, I reworked control flow in couple of places. https://chromiumcodereview.appspot.com/10870008/diff/4001/lib/compiler/implementation/dart_backend/placeholder_collector.dart File lib/compiler/implementation/dart_backend/placeholder_collector.dart (left): https://chromiumcodereview.appspot.com/10870008/diff/4001/lib/compiler/implementation/dart_backend/placeholder_collector.dart#oldcode56 lib/compiler/implementation/dart_backend/placeholder_collector.dart:56: ...
8 years, 4 months ago (2012-08-22 14:45:30 UTC) #4
Anton Muhin
LGTM! Very neat reworking of placeholder_collector, less lines, more functionality, I wish every change would ...
8 years, 4 months ago (2012-08-22 14:58:47 UTC) #5
Roman
8 years, 4 months ago (2012-08-22 15:09:03 UTC) #6
https://chromiumcodereview.appspot.com/10870008/diff/4001/lib/compiler/implem...
File lib/compiler/implementation/dart_backend/placeholder_collector.dart (left):

https://chromiumcodereview.appspot.com/10870008/diff/4001/lib/compiler/implem...
lib/compiler/implementation/dart_backend/placeholder_collector.dart:69:
assert(elements[node.receiver].isPrefix());
On 2012/08/22 14:58:47, Anton Muhin wrote:
> why drop assert?

Done.

Powered by Google App Engine
This is Rietveld 408576698