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

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

Issue 582753002: dart2js: add --preserve-uris flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comments in test. Created 6 years, 3 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/js_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
index 09dcfefb4989809d6673e8a2a371e84e6a98bef6..8464c155ed0d9dbb3444a1afce2d2513952d1fa0 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -1556,7 +1556,7 @@ class JavaScriptBackend extends Backend {
} else if (element == preserveMetadataMarker) {
mustRetainMetadata = true;
} else if (element == preserveUrisMarker) {
- mustRetainUris = true;
+ if (!compiler.hideUris) mustRetainUris = true;
} else if (element == preserveLibraryNamesMarker) {
mustRetainLibraryNames = true;
} else if (element == getIsolateAffinityTagMarker) {

Powered by Google App Engine
This is Rietveld 408576698