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

Issue 196273003: Move isPrimary computation from PhaseInput into TransformNode. (Closed)

Created:
6 years, 9 months ago by nweiz
Modified:
6 years, 9 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Move isPrimary computation from PhaseInput into TransformNode. In addition to cleaning up the code, this makes transforms more parallel and paves the way for properly supporting declaring transformers. R=rnystrom@google.com BUG=17401 Committed: https://code.google.com/p/dart/source/detail?r=33626

Patch Set 1 #

Total comments: 12

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -329 lines) Patch
M pkg/barback/lib/src/phase.dart View 1 4 chunks +14 lines, -6 lines 0 comments Download
M pkg/barback/lib/src/phase_forwarder.dart View 1 5 chunks +31 lines, -22 lines 0 comments Download
M pkg/barback/lib/src/phase_input.dart View 6 chunks +22 lines, -220 lines 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 15 chunks +238 lines, -79 lines 0 comments Download
M pkg/barback/test/package_graph/errors_test.dart View 2 chunks +11 lines, -2 lines 0 comments Download
M pkg/barback/test/package_graph/lazy_transformer_test.dart View 1 chunk +54 lines, -0 lines 0 comments Download
M pkg/barback/test/transformer/lazy_rewrite.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nweiz
6 years, 9 months ago (2014-03-12 01:36:09 UTC) #1
nweiz
It looks like this also fixes https://code.google.com/p/dart/issues/detail?id=17401.
6 years, 9 months ago (2014-03-12 02:36:45 UTC) #2
Bob Nystrom
https://codereview.chromium.org/196273003/diff/1/pkg/barback/lib/src/phase_forwarder.dart File pkg/barback/lib/src/phase_forwarder.dart (right): https://codereview.chromium.org/196273003/diff/1/pkg/barback/lib/src/phase_forwarder.dart#newcode48 pkg/barback/lib/src/phase_forwarder.dart:48: int get _realNumChannels => _numChannels + 1; This is ...
6 years, 9 months ago (2014-03-12 17:42:57 UTC) #3
nweiz
https://codereview.chromium.org/196273003/diff/1/pkg/barback/lib/src/phase_forwarder.dart File pkg/barback/lib/src/phase_forwarder.dart (right): https://codereview.chromium.org/196273003/diff/1/pkg/barback/lib/src/phase_forwarder.dart#newcode48 pkg/barback/lib/src/phase_forwarder.dart:48: int get _realNumChannels => _numChannels + 1; On 2014/03/12 ...
6 years, 9 months ago (2014-03-12 21:44:46 UTC) #4
Bob Nystrom
lgtm
6 years, 9 months ago (2014-03-12 23:13:10 UTC) #5
nweiz
6 years, 9 months ago (2014-03-12 23:20:33 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r33626 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698