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

Unified Diff: sdk/lib/internal/symbol.dart

Issue 1971193002: Patches to support Dart VM patch files in dart2js. (Closed) Base URL: sso://user/ahe/dart-sdk@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « sdk/lib/internal/internal.dart ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/internal/symbol.dart
diff --git a/sdk/lib/internal/symbol.dart b/sdk/lib/internal/symbol.dart
index 21d976b119e423d42842c6a07d5dfc9169911427..73ac334f345cf1309f8440d42456bff21ec148d8 100644
--- a/sdk/lib/internal/symbol.dart
+++ b/sdk/lib/internal/symbol.dart
@@ -117,7 +117,7 @@ class Symbol implements core.Symbol {
return 0x1fffffff & (arbitraryPrime * _name.hashCode);
}
- toString() => 'Symbol("$_name")';
+ external String toString();
/// Platform-private accessor which cannot be called from user libraries.
static String getName(Symbol symbol) => symbol._name;
@@ -142,4 +142,6 @@ class Symbol implements core.Symbol {
static bool isValidSymbol(String name) {
return (name.isEmpty || symbolPattern.hasMatch(name));
}
+
+ external static getUnmangledName(Symbol symbol);
}
« no previous file with comments | « sdk/lib/internal/internal.dart ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698