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

Issue 2315973002: When registering deferred constant, use canonical output unit. (Closed)

Created:
4 years, 3 months ago by Harry Terkelsen
Modified:
4 years, 3 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

When registering deferred constant, use canonical output unit. Before, we were just creating a new output unit, which would cause constants to map to unnamed output units. BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/689aa1879984d259334221813c42966555d684e0

Patch Set 1 #

Total comments: 8

Patch Set 2 : respond to comments #

Total comments: 2

Patch Set 3 : inline _getCanonicalUnit vars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M pkg/compiler/lib/src/deferred_load.dart View 1 2 3 chunks +20 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/dump_info.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Harry Terkelsen
4 years, 3 months ago (2016-09-06 23:56:35 UTC) #2
Harry Terkelsen
4 years, 3 months ago (2016-09-07 00:28:22 UTC) #5
Siggi Cherem (dart-lang)
I'm a bit puzzled - how come this breaks dump-info and it doesn't break our ...
4 years, 3 months ago (2016-09-07 18:10:44 UTC) #6
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2315973002/diff/1/pkg/compiler/lib/src/deferred_load.dart File pkg/compiler/lib/src/deferred_load.dart (right): https://codereview.chromium.org/2315973002/diff/1/pkg/compiler/lib/src/deferred_load.dart#newcode231 pkg/compiler/lib/src/deferred_load.dart:231: OutputUnit representative = allOutputUnits.lookup(outputUnit); On 2016/09/07 18:10:44, Siggi Cherem ...
4 years, 3 months ago (2016-09-07 18:14:09 UTC) #7
Harry Terkelsen
https://codereview.chromium.org/2315973002/diff/1/pkg/compiler/lib/src/deferred_load.dart File pkg/compiler/lib/src/deferred_load.dart (right): https://codereview.chromium.org/2315973002/diff/1/pkg/compiler/lib/src/deferred_load.dart#newcode231 pkg/compiler/lib/src/deferred_load.dart:231: OutputUnit representative = allOutputUnits.lookup(outputUnit); On 2016/09/07 18:10:44, Siggi Cherem ...
4 years, 3 months ago (2016-09-07 23:53:50 UTC) #8
Harry Terkelsen
Thanks Siggi! PTAL
4 years, 3 months ago (2016-09-07 23:54:39 UTC) #9
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2315973002/diff/20001/pkg/compiler/lib/src/deferred_load.dart File pkg/compiler/lib/src/deferred_load.dart (right): https://codereview.chromium.org/2315973002/diff/20001/pkg/compiler/lib/src/deferred_load.dart#newcode742 pkg/compiler/lib/src/deferred_load.dart:742: OutputUnit representative = _getCanonicalUnit(outputUnit); now that the logic ...
4 years, 3 months ago (2016-09-07 23:57:50 UTC) #10
Harry Terkelsen
https://codereview.chromium.org/2315973002/diff/20001/pkg/compiler/lib/src/deferred_load.dart File pkg/compiler/lib/src/deferred_load.dart (right): https://codereview.chromium.org/2315973002/diff/20001/pkg/compiler/lib/src/deferred_load.dart#newcode742 pkg/compiler/lib/src/deferred_load.dart:742: OutputUnit representative = _getCanonicalUnit(outputUnit); On 2016/09/07 23:57:50, Siggi Cherem ...
4 years, 3 months ago (2016-09-08 00:01:30 UTC) #11
Harry Terkelsen
4 years, 3 months ago (2016-09-08 00:01:45 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
689aa1879984d259334221813c42966555d684e0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698