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

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

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/namer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
index 0f5f6beb57cf858d383cee66ef13dcea0076096c..07c32c033c03eccc116f8345772dff0d4104d458 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -536,7 +536,7 @@ class Namer implements ClosureNamer {
return name;
}
- String getInterceptorSuffix(Collection<ClassElement> classes) {
+ String getInterceptorSuffix(Iterable<ClassElement> classes) {
String abbreviate(ClassElement cls) {
if (cls == compiler.objectClass) return "o";
JavaScriptBackend backend = compiler.backend;
@@ -565,7 +565,7 @@ class Namer implements ClosureNamer {
return names.join();
}
- String getInterceptorName(Element element, Collection<ClassElement> classes) {
+ String getInterceptorName(Element element, Iterable<ClassElement> classes) {
JavaScriptBackend backend = compiler.backend;
if (classes.contains(backend.jsInterceptorClass)) {
// If the base Interceptor class is in the set of intercepted classes, we
@@ -578,7 +578,7 @@ class Namer implements ClosureNamer {
}
String getOneShotInterceptorName(Selector selector,
- Collection<ClassElement> classes) {
+ Iterable<ClassElement> classes) {
JavaScriptBackend backend = compiler.backend;
// The one-shot name is a global name derived from the invocation name. To
// avoid instability we would like the names to be unique and not clash with

Powered by Google App Engine
This is Rietveld 408576698