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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 582753002: dart2js: add --preserve-uris flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update tests. 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 41fd4a50590f819a632e3596a2ad9ea54e8e22e3..589baba80f7ce1d98cdd8c26a2dead9fbda5d8d1 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -645,6 +645,10 @@ abstract class Compiler implements DiagnosticListener {
new ResolutionRegistry.internal(null, new TreeElementMapping(null));
final bool enableMinification;
+
+ /// When `true` emits URIs in the reflection metadata.
+ final bool preserveUris;
+
final bool enableTypeAssertions;
final bool enableUserAssertions;
final bool trustTypeAnnotations;
@@ -934,6 +938,7 @@ abstract class Compiler implements DiagnosticListener {
bool disableTypeInferenceFlag: false,
this.maxConcreteTypeSize: 5,
this.enableMinification: false,
+ this.preserveUris: false,
this.enableNativeLiveTypeAnalysis: false,
bool emitJavaScript: true,
bool dart2dartMultiFile: false,
« 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