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

Side by Side Diff: pkg/compiler/lib/src/resolution/members.dart

Issue 1087473002: Revert "Dart2js deferred loading. Follow types of functions when calculating dependencies." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/elements/modelx.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of resolution; 5 part of resolution;
6 6
7 abstract class TreeElements { 7 abstract class TreeElements {
8 AnalyzableElement get analyzedElement; 8 AnalyzableElement get analyzedElement;
9 Iterable<Node> get superUses; 9 Iterable<Node> get superUses;
10 10
(...skipping 4425 matching lines...) Expand 10 before | Expand all | Expand 10 after
4436 mixinThisType.typeArguments); 4436 mixinThisType.typeArguments);
4437 } 4437 }
4438 4438
4439 bool isDefaultConstructor(FunctionElement constructor) { 4439 bool isDefaultConstructor(FunctionElement constructor) {
4440 return constructor.name == '' && 4440 return constructor.name == '' &&
4441 constructor.computeSignature(compiler).parameterCount == 0; 4441 constructor.computeSignature(compiler).parameterCount == 0;
4442 } 4442 }
4443 4443
4444 FunctionElement createForwardingConstructor(ConstructorElement target, 4444 FunctionElement createForwardingConstructor(ConstructorElement target,
4445 ClassElement enclosing) { 4445 ClassElement enclosing) {
4446 return new SynthesizedConstructorElementX.notForDefault( 4446 return new SynthesizedConstructorElementX(
4447 target.name, target, enclosing); 4447 target.name, target, enclosing, false);
4448 } 4448 }
4449 4449
4450 void doApplyMixinTo(MixinApplicationElementX mixinApplication, 4450 void doApplyMixinTo(MixinApplicationElementX mixinApplication,
4451 DartType supertype, 4451 DartType supertype,
4452 DartType mixinType) { 4452 DartType mixinType) {
4453 Node node = mixinApplication.parseNode(compiler); 4453 Node node = mixinApplication.parseNode(compiler);
4454 4454
4455 if (mixinApplication.supertype != null) { 4455 if (mixinApplication.supertype != null) {
4456 // [supertype] is not null if there was a cycle. 4456 // [supertype] is not null if there was a cycle.
4457 assert(invariant(node, compiler.compilationFailed)); 4457 assert(invariant(node, compiler.compilationFailed));
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
5096 } 5096 }
5097 5097
5098 /// The result for the resolution of the `assert` method. 5098 /// The result for the resolution of the `assert` method.
5099 class AssertResult implements ResolutionResult { 5099 class AssertResult implements ResolutionResult {
5100 const AssertResult(); 5100 const AssertResult();
5101 5101
5102 Element get element => null; 5102 Element get element => null;
5103 5103
5104 String toString() => 'AssertResult()'; 5104 String toString() => 'AssertResult()';
5105 } 5105 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/modelx.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698