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

Side by Side Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 2668233002: Remove code supporting incremental compilation in dart2js (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « pkg/compiler/lib/src/options.dart ('k') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Implementation of the element model used for deserialiation. 5 /// Implementation of the element model used for deserialiation.
6 /// 6 ///
7 /// These classes are created by [ElementDeserializer] triggered by the 7 /// These classes are created by [ElementDeserializer] triggered by the
8 /// [Deserializer]. 8 /// [Deserializer].
9 9
10 library dart2js.serialization.modelz; 10 library dart2js.serialization.modelz;
(...skipping 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 final List<FunctionElement> nestedClosures = <FunctionElement>[]; 1564 final List<FunctionElement> nestedClosures = <FunctionElement>[];
1565 1565
1566 @override 1566 @override
1567 MemberElement get memberContext => this; 1567 MemberElement get memberContext => this;
1568 1568
1569 @override 1569 @override
1570 Name get memberName => new Name(name, library); 1570 Name get memberName => new Name(name, library);
1571 1571
1572 @override 1572 @override
1573 bool get isInjected => _decoder.getBool(Key.IS_INJECTED); 1573 bool get isInjected => _decoder.getBool(Key.IS_INJECTED);
1574
1575 @override
1576 void forgetElement() {
1577 nestedClosures.clear();
1578 }
1579 } 1574 }
1580 1575
1581 abstract class FieldElementZ extends DeserializedElementZ 1576 abstract class FieldElementZ extends DeserializedElementZ
1582 with 1577 with
1583 AnalyzableElementMixin, 1578 AnalyzableElementMixin,
1584 AstElementMixinZ, 1579 AstElementMixinZ,
1585 TypedElementMixin, 1580 TypedElementMixin,
1586 MemberElementMixin 1581 MemberElementMixin
1587 implements FieldElement { 1582 implements FieldElement {
1588 bool _isConst; 1583 bool _isConst;
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
2406 } 2401 }
2407 2402
2408 @override 2403 @override
2409 Node get node => throw new UnsupportedError('${this}.node'); 2404 Node get node => throw new UnsupportedError('${this}.node');
2410 2405
2411 @override 2406 @override
2412 bool get hasNode => false; 2407 bool get hasNode => false;
2413 2408
2414 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; 2409 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})';
2415 } 2410 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/options.dart ('k') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698