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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 666843004: Revert "dart2js: add --preserve-uris flag." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
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 dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 * Dependencies that are only included due to mirrors. 638 * Dependencies that are only included due to mirrors.
639 * 639 *
640 * We should get rid of this and ensure that all dependencies are 640 * We should get rid of this and ensure that all dependencies are
641 * associated with a particular element. 641 * associated with a particular element.
642 */ 642 */
643 // TODO(johnniwinther): This should not be a [ResolutionRegistry]. 643 // TODO(johnniwinther): This should not be a [ResolutionRegistry].
644 final Registry mirrorDependencies = 644 final Registry mirrorDependencies =
645 new ResolutionRegistry.internal(null, new TreeElementMapping(null)); 645 new ResolutionRegistry.internal(null, new TreeElementMapping(null));
646 646
647 final bool enableMinification; 647 final bool enableMinification;
648
649 /// When `true` emits URIs in the reflection metadata.
650 final bool preserveUris;
651
652 final bool enableTypeAssertions; 648 final bool enableTypeAssertions;
653 final bool enableUserAssertions; 649 final bool enableUserAssertions;
654 final bool trustTypeAnnotations; 650 final bool trustTypeAnnotations;
655 final bool enableConcreteTypeInference; 651 final bool enableConcreteTypeInference;
656 final bool disableTypeInferenceFlag; 652 final bool disableTypeInferenceFlag;
657 final bool dumpInfo; 653 final bool dumpInfo;
658 final bool useContentSecurityPolicy; 654 final bool useContentSecurityPolicy;
659 655
660 /** 656 /**
661 * The maximum size of a concrete type before it widens to dynamic during 657 * The maximum size of a concrete type before it widens to dynamic during
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 /// Set by the backend if real reflection is detected in use of dart:mirrors. 927 /// Set by the backend if real reflection is detected in use of dart:mirrors.
932 bool disableTypeInferenceForMirrors = false; 928 bool disableTypeInferenceForMirrors = false;
933 929
934 Compiler({this.enableTypeAssertions: false, 930 Compiler({this.enableTypeAssertions: false,
935 this.enableUserAssertions: false, 931 this.enableUserAssertions: false,
936 this.trustTypeAnnotations: false, 932 this.trustTypeAnnotations: false,
937 this.enableConcreteTypeInference: false, 933 this.enableConcreteTypeInference: false,
938 bool disableTypeInferenceFlag: false, 934 bool disableTypeInferenceFlag: false,
939 this.maxConcreteTypeSize: 5, 935 this.maxConcreteTypeSize: 5,
940 this.enableMinification: false, 936 this.enableMinification: false,
941 this.preserveUris: false,
942 this.enableNativeLiveTypeAnalysis: false, 937 this.enableNativeLiveTypeAnalysis: false,
943 bool emitJavaScript: true, 938 bool emitJavaScript: true,
944 bool dart2dartMultiFile: false, 939 bool dart2dartMultiFile: false,
945 bool generateSourceMap: true, 940 bool generateSourceMap: true,
946 bool analyzeAllFlag: false, 941 bool analyzeAllFlag: false,
947 bool analyzeOnly: false, 942 bool analyzeOnly: false,
948 this.analyzeMain: false, 943 this.analyzeMain: false,
949 bool analyzeSignaturesOnly: false, 944 bool analyzeSignaturesOnly: false,
950 this.preserveComments: false, 945 this.preserveComments: false,
951 this.verbose: false, 946 this.verbose: false,
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2163 int warnings = 0; 2158 int warnings = 0;
2164 int hints = 0; 2159 int hints = 0;
2165 } 2160 }
2166 2161
2167 class GenericTask extends CompilerTask { 2162 class GenericTask extends CompilerTask {
2168 final String name; 2163 final String name;
2169 2164
2170 GenericTask(this.name, Compiler compiler) 2165 GenericTask(this.name, Compiler compiler)
2171 : super(compiler); 2166 : super(compiler);
2172 } 2167 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/apiimpl.dart ('k') | sdk/lib/_internal/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698