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

Issue 10834416: Rename elements after sorting. (Closed)

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

Description

Rename elements after sorting. That makes renaming more stable. R=smok@google.com Committed: https://code.google.com/p/dart/source/detail?r=11038

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -37 lines) Patch
M lib/compiler/implementation/dart_backend/backend.dart View 1 2 chunks +20 lines, -13 lines 2 comments Download
M lib/compiler/implementation/dart_backend/renamer.dart View 1 2 1 chunk +21 lines, -17 lines 0 comments Download
M tests/compiler/dart2js/unparser_test.dart View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Anton Muhin
8 years, 4 months ago (2012-08-20 19:55:04 UTC) #1
Roman
lgtm https://chromiumcodereview.appspot.com/10834416/diff/1/lib/compiler/implementation/dart_backend/renamer.dart File lib/compiler/implementation/dart_backend/renamer.dart (right): https://chromiumcodereview.appspot.com/10834416/diff/1/lib/compiler/implementation/dart_backend/renamer.dart#newcode56 lib/compiler/implementation/dart_backend/renamer.dart:56: for (Node node in placeholderCollector.unresolvedNodes) { Should we ...
8 years, 4 months ago (2012-08-21 07:59:46 UTC) #2
Anton Muhin
https://chromiumcodereview.appspot.com/10834416/diff/1/lib/compiler/implementation/dart_backend/renamer.dart File lib/compiler/implementation/dart_backend/renamer.dart (right): https://chromiumcodereview.appspot.com/10834416/diff/1/lib/compiler/implementation/dart_backend/renamer.dart#newcode56 lib/compiler/implementation/dart_backend/renamer.dart:56: for (Node node in placeholderCollector.unresolvedNodes) { Okay. I'll implement ...
8 years, 4 months ago (2012-08-21 10:15:26 UTC) #3
Anton Muhin
PTAL. Yes, I remember your LGTM, but I reworked it notably, so I would appreciate ...
8 years, 4 months ago (2012-08-21 12:19:04 UTC) #4
Roman
lgtm https://chromiumcodereview.appspot.com/10834416/diff/9/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://chromiumcodereview.appspot.com/10834416/diff/9/lib/compiler/implementation/dart_backend/backend.dart#newcode186 lib/compiler/implementation/dart_backend/backend.dart:186: List sorted(List l, comparison) { 'sortList'?
8 years, 4 months ago (2012-08-21 12:37:39 UTC) #5
Anton Muhin
8 years, 4 months ago (2012-08-21 12:57:42 UTC) #6
https://chromiumcodereview.appspot.com/10834416/diff/9/lib/compiler/implement...
File lib/compiler/implementation/dart_backend/backend.dart (right):

https://chromiumcodereview.appspot.com/10834416/diff/9/lib/compiler/implement...
lib/compiler/implementation/dart_backend/backend.dart:186: List sorted(List l,
comparison) {
On 2012/08/21 12:37:39, Roman wrote:
> 'sortList'? 

sorted matches nicely Python, mind if I keep it this way?

Powered by Google App Engine
This is Rietveld 408576698