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

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed)

Created:
5 years, 1 month ago by sigurdm
Modified:
5 years ago
CC:
fletch+reviews_googlegroups.com
Base URL:
git@github.com:dart-lang/fletch.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 86

Patch Set 2 : Address review, simplify registry, point at later revision #

Patch Set 3 : Whitespace fix #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : Don't return transformed impact when nothing changed. #

Patch Set 6 : Whitespace fix #

Patch Set 7 : Update binary shas and dart-rev sha #

Patch Set 8 : rebase, remove dead function #

Patch Set 9 : Update status files #

Total comments: 98

Patch Set 10 : Address ahe's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -298 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M lib/system/system.dart View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/fletchc/lib/fletch_compiler.dart View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/fletchc/lib/src/closure_environment.dart View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/fletchc/lib/src/codegen_visitor.dart View 1 2 3 4 5 6 7 8 9 11 chunks +14 lines, -18 lines 0 comments Download
M pkg/fletchc/lib/src/debug_registry.dart View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -11 lines 0 comments Download
M pkg/fletchc/lib/src/dynamic_call_enqueuer.dart View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -3 lines 0 comments Download
M pkg/fletchc/lib/src/enqueuer_mixin.dart View 1 2 3 4 5 6 7 8 9 1 chunk +47 lines, -112 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_backend.dart View 1 2 3 4 5 6 7 8 9 8 chunks +14 lines, -17 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_class_builder.dart View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -5 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_compiler_implementation.dart View 1 2 3 4 5 6 7 8 9 8 chunks +8 lines, -82 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_context.dart View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -5 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_enqueuer.dart View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -16 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_registry.dart View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -17 lines 0 comments Download
M pkg/fletchc/lib/src/fletch_system_builder.dart View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
sigurdm
5 years, 1 month ago (2015-11-17 15:25:49 UTC) #4
ahe
I think you need to update the Dart VM binaries as well.
5 years, 1 month ago (2015-11-17 15:28:13 UTC) #5
ahe
Thanks for doing this work, Sigurd. I suggest that we sit down together tomorrow and ...
5 years, 1 month ago (2015-11-17 16:44:10 UTC) #6
Anders Johnsen
THANK YOU! I don't have additional comments to Peters :) https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/codegen_visitor.dart File pkg/fletchc/lib/src/codegen_visitor.dart (right): https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/codegen_visitor.dart#newcode1576 ...
5 years, 1 month ago (2015-11-18 06:46:55 UTC) #7
Johnni Winther
lgtm https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/closure_environment.dart File pkg/fletchc/lib/src/closure_environment.dart (right): https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/closure_environment.dart#newcode751 pkg/fletchc/lib/src/closure_environment.dart:751: void visitTypeAnnotation(TypeAnnotation node) { Add a comment about ...
5 years, 1 month ago (2015-11-19 10:17:26 UTC) #8
sigurdm
I still need to update sha-files for the binaries. https://codereview.chromium.org/1450393002/diff/40001/DEPS File DEPS (right): https://codereview.chromium.org/1450393002/diff/40001/DEPS#newcode37 DEPS:37: ...
5 years, 1 month ago (2015-11-19 14:33:48 UTC) #9
sigurdm
@ahe would you PTAL at the changes to FletchRegistry, and the updates to third_party/bin/README.md? @johnniwinther ...
5 years, 1 month ago (2015-11-19 14:37:32 UTC) #10
Johnni Winther
https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/fletch_backend.dart File pkg/fletchc/lib/src/fletch_backend.dart (right): https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/fletch_backend.dart#newcode1723 pkg/fletchc/lib/src/fletch_backend.dart:1723: return transformed; On 2015/11/19 14:33:47, sigurdm wrote: > On ...
5 years, 1 month ago (2015-11-19 14:56:04 UTC) #11
Anders Johnsen
Yep, that part lgtm! https://codereview.chromium.org/1450393002/diff/100001/pkg/fletchc/lib/src/codegen_visitor.dart File pkg/fletchc/lib/src/codegen_visitor.dart (right): https://codereview.chromium.org/1450393002/diff/100001/pkg/fletchc/lib/src/codegen_visitor.dart#newcode1364 pkg/fletchc/lib/src/codegen_visitor.dart:1364: new Selector.call(Names.call, callStructure)); One line?
5 years, 1 month ago (2015-11-19 15:09:23 UTC) #12
sigurdm
https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/fletch_backend.dart File pkg/fletchc/lib/src/fletch_backend.dart (right): https://codereview.chromium.org/1450393002/diff/40001/pkg/fletchc/lib/src/fletch_backend.dart#newcode1723 pkg/fletchc/lib/src/fletch_backend.dart:1723: return transformed; On 2015/11/19 14:56:04, Johnni Winther wrote: > ...
5 years, 1 month ago (2015-11-19 15:16:56 UTC) #13
sigurdm
Now the binary sha's are also updated.
5 years, 1 month ago (2015-11-20 10:09:13 UTC) #15
sigurdm
@ahe does this have green light from you?
5 years, 1 month ago (2015-11-20 12:14:06 UTC) #16
Johnni Winther
Go for l(a)unch (aka LGTM)
5 years ago (2015-11-24 09:29:46 UTC) #17
sigurdm
Committed patchset #8 (id:180001) manually as 9a7963cf02e632b68cc9e936fb5879b5da7864ec (presubmit successful).
5 years ago (2015-11-24 09:55:22 UTC) #18
sigurdm
Updated status files. PTAL (patch 9)
5 years ago (2015-11-24 13:14:47 UTC) #20
Anders Johnsen
lgtm
5 years ago (2015-11-24 13:22:16 UTC) #21
sigurdm
Committed patchset #9 (id:200001) manually as 3b5c04dca91c04f05c762e5eb98ca1dd93de7ce2 (presubmit successful).
5 years ago (2015-11-24 13:28:52 UTC) #22
ahe
https://codereview.chromium.org/1450393002/diff/200001/DEPS File DEPS (right): https://codereview.chromium.org/1450393002/diff/200001/DEPS#newcode26 DEPS:26: # 3. Upload new binaries and update the `third_party/bin` ...
5 years ago (2015-12-01 10:12:13 UTC) #23
Johnni Winther
https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/closure_environment.dart File pkg/fletchc/lib/src/closure_environment.dart (right): https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/closure_environment.dart#newcode103 pkg/fletchc/lib/src/closure_environment.dart:103: if (element.node != null) element.resolvedAst.node.accept(this); On 2015/12/01 10:12:12, ahe ...
5 years ago (2015-12-03 12:41:25 UTC) #24
sigurdm
5 years ago (2015-12-03 14:48:10 UTC) #26
Message was sent while issue was closed.
Thanks for the review. I did a follow-up here:
https://codereview.chromium.org/1491823004.

Also I uploaded the followup as a patch in this CL, so it can be seen in
context.

https://codereview.chromium.org/1450393002/diff/200001/DEPS
File DEPS (right):

https://codereview.chromium.org/1450393002/diff/200001/DEPS#newcode26
DEPS:26: # 3. Upload new binaries and update the `third_party/bin`
sha-hash-files as
On 2015/12/01 10:12:11, ahe wrote:
> Also `tools/testing/bin/`.

Done.

https://codereview.chromium.org/1450393002/diff/200001/lib/system/system.dart
File lib/system/system.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/lib/system/system.dart...
lib/system/system.dart:89: const patch = "patch";
On 2015/12/01 10:12:12, ahe wrote:
> I think this would naturally group with [native] on line 16.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/fletch...
File pkg/fletchc/lib/fletch_compiler.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/fletch...
pkg/fletchc/lib/fletch_compiler.dart:37: import
'package:compiler/src/apiimpl.dart' as apiimpl;
On 2015/12/01 10:12:12, ahe wrote:
> I'd change this to:
> 
> import 'package:compiler/src/apiimpl.dart' show
>     CompilerImpl;

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/cl...
File pkg/fletchc/lib/src/closure_environment.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/cl...
pkg/fletchc/lib/src/closure_environment.dart:749: @override
On 2015/12/01 10:12:12, ahe wrote:
> Please don't use @override.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/cl...
pkg/fletchc/lib/src/closure_environment.dart:751: // This is to avoid the
inherited implementation that visits children and
On 2015/12/01 10:12:12, ahe wrote:
> Indentation. Also, TODO.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
File pkg/fletchc/lib/src/codegen_visitor.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:378: void registerStaticUse(StaticUse
use);
On 2015/12/01 10:12:12, ahe wrote:
> StaticUse (like DynamicUse) is problematic to use here for the same reason as
> DynamicUse: we construct these objects just to throw them away again
> immediately.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:403: registerDynamicUse(new
Selector.getter(name));
On 2015/12/01 10:12:12, ahe wrote:
> This shouldn't create new objects.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:411: registerDynamicUse(new
Selector.setter(name));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:455: registerStaticUse(new
StaticUse.foreignUse(element));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:463: registerStaticUse(new
StaticUse.foreignUse(constructor));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:1081: registerStaticUse(new
StaticUse.foreignUse(function));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/co...
pkg/fletchc/lib/src/codegen_visitor.dart:1511: void doStaticFieldSet(
On 2015/12/01 10:12:12, ahe wrote:
> Why this change?

Not sure - reverted.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/de...
File pkg/fletchc/lib/src/debug_registry.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/de...
pkg/fletchc/lib/src/debug_registry.dart:24: StaticUse;
On 2015/12/01 10:12:12, ahe wrote:
> This file should not import these classes. That's one way to ensure that we
> don't create objects that we don't need.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/de...
pkg/fletchc/lib/src/debug_registry.dart:59: throw null;
On 2015/12/01 10:12:12, ahe wrote:
> What?

To shut up the analyzer.
Changed

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/dr...
File pkg/fletchc/lib/src/driver/developer.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/dr...
pkg/fletchc/lib/src/driver/developer.dart:460: return null;
On 2015/12/01 10:12:12, ahe wrote:
> What is this for?

To shut up the analyzer.

If there are no more commands, the right thing seems to be to explicitly return
null as there is no address.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/dy...
File pkg/fletchc/lib/src/dynamic_call_enqueuer.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/dy...
pkg/fletchc/lib/src/dynamic_call_enqueuer.dart:14: DynamicUse;
On 2015/12/01 10:12:12, ahe wrote:
> This class should not be used here.

DynamicUse is the new name of UniverseSelector. This is not a new thing I
introduced. I can add a TODO if you want?

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_backend.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_backend.dart:472: registry.registerDynamicUse(new
Selector.fromElement(element));
On 2015/12/01 10:12:12, ahe wrote:
> This isn't a dynamic use, and it is a problem for tree shaking that it is
> registered as such.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_backend.dart:934: registry.registerStaticUse(new
StaticUse.foreignUse(fletchSystemEntry));
On 2015/12/01 10:12:12, ahe wrote:
> Should not create an instance of StaticUse.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_backend.dart:1040: ..registerDynamicUse(new
Selector.callClosure(0))
On 2015/12/01 10:12:12, ahe wrote:
> It's somewhat confusing that FletchRegistry uses the same method names as the
> ones that take DynamicUse.

I renamed it to registerDynamicSelector

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_backend.dart:1183: registry.registerStaticUse(new
StaticUse.foreignUse(function));
On 2015/12/01 10:12:12, ahe wrote:
> Shouldn't instantiate StaticUse.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_backend.dart:1314: new Selector.getter(name));
On 2015/12/01 10:12:12, ahe wrote:
> Also, we shouldn't allocate a selector.

Added to TODO

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_backend.dart:1683: 
On 2015/12/01 10:12:12, ahe wrote:
> Extra line.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_class_builder.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_class_builder.dart:164: var setter = new
Selector.setter(new Name(field.name, field.library));
On 2015/12/01 10:12:12, ahe wrote:
> Why not field.memberName?

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_class_builder.dart:281: var getter = new
Selector.getter(new Name(field.name, field.library));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_class_builder.dart:286: var setter = new
Selector.setter(new Name(field.name, field.library));
On 2015/12/01 10:12:13, ahe wrote:
> Ditto

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_class_builder.dart:296: new Selector.getter(new
Name(field.name, field.library));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_class_builder.dart:302: new Selector.setter(new
Name(field.name, field.library));
On 2015/12/01 10:12:12, ahe wrote:
> Ditto

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_compiler_implementation.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:18:
GlobalDependencyRegistry;
On 2015/12/01 10:12:13, ahe wrote:
> Unused import.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:36: import
'package:compiler/src/diagnostics/source_span.dart' show
On 2015/12/01 10:12:13, ahe wrote:
> Add newline before import.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:62: import
'package:compiler/src/diagnostics/diagnostic_listener.dart';
On 2015/12/01 10:12:13, ahe wrote:
> Newlines between imports.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:141: @override
On 2015/12/01 10:12:13, ahe wrote:
> Please dont use @override.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:175: @override
On 2015/12/01 10:12:13, ahe wrote:
> Ditto.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:246: void
reportVerboseInfo(
On 2015/12/01 10:12:13, ahe wrote:
> This should probably be moved to our reporter object?

I'll wait for Johnni to move it in the dart2js frontend

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:255:
reportDiagnostic(new DiagnosticMessage(span, node, message),
On 2015/12/01 10:12:13, ahe wrote:
> Why is reportDiagnostic not called on reporter?

There is not reportDiagnostic on reporter, but on compiler. Maybe johnni knows
why?

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:315: class
FletchDiagnosticReporter extends DiagnosticReporter {
On 2015/12/01 10:12:13, ahe wrote:
> Move to own file.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:315: class
FletchDiagnosticReporter extends DiagnosticReporter {
On 2015/12/01 10:12:13, ahe wrote:
> If you used implements, you wouldn't need all those noisy @override
> declarations.

I don't understand the argument.

I use extends to inherit functionality from DiagnosticReporter. I don't see how
that has anything to do with @override.

I disagree that @override annotations are noisy, and think they serve a purpose
on a similar level to type annotations. But I will remove them as I see this is
not a shared belief.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:316: DiagnosticReporter
_internalReporter;
On 2015/12/01 10:12:13, ahe wrote:
> Please don't use library privacy when you're not implementing user-facing API.
> 
> It only serves to:
> 
> * Make life harder for your co-workers.
> 
> * Prevent testing.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_compiler_implementation.dart:321: DiagnosticMessage
createMessage(Spannable spannable,
On 2015/12/01 10:12:13, ahe wrote:
> Add newline after ( for consistency with code style used elsewhere in these
> files. Many times below.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_context.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_context.dart:75: Map<Name, String> nameToSymbol =
<Name, String>{};
On 2015/12/01 10:12:13, ahe wrote:
> Unused?

Yes - removed

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_context.dart:139: String name,
On 2015/12/01 10:12:13, ahe wrote:
> Are we using the right API on this method? Could it take a Name instead?

Done

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_enqueuer.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_enqueuer.dart:72: import 'dart:developer';
On 2015/12/01 10:12:13, ahe wrote:
> What is this used for?

That was stary debugging code - removed

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_enqueuer.dart:73: import
'package:compiler/src/diagnostics/diagnostic_listener.dart';
On 2015/12/01 10:12:13, ahe wrote:
> Please use show, here and on all imports below.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_enqueuer.dart:188: void registerStaticUse(StaticUse
staticUse) {
On 2015/12/01 10:12:13, ahe wrote:
> Since I don't think we should be instantiating objects to throw them away
again,
> I don't think this is the right API.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_enqueuer.dart:244: void registerDynamicUse(DynamicUse
use) {
On 2015/12/01 10:12:13, ahe wrote:
> Ditto.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_registry.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_registry.dart:21: StaticUse;
On 2015/12/01 10:12:13, ahe wrote:
> Shouldn't be imported here.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_registry.dart:82: void registerStaticUse(StaticUse
staticUse) {
On 2015/12/01 10:12:13, ahe wrote:
> Also think this is the wrong API.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_registry.dart:92: world.registerDynamicUse(new
DynamicUse(selector, null));
On 2015/12/01 10:12:13, ahe wrote:
> Shouldn't instantiate DynamicUse.

Done.

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
File pkg/fletchc/lib/src/fletch_system_builder.dart (right):

https://codereview.chromium.org/1450393002/diff/200001/pkg/fletchc/lib/src/fl...
pkg/fletchc/lib/src/fletch_system_builder.dart:491: void
addIfField(MemberElement member) {
On 2015/12/01 10:12:13, ahe wrote:
> Rename to addIfInstanceField.

Done.

Powered by Google App Engine
This is Rietveld 408576698