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

Unified Diff: pkg/compiler/lib/src/ssa/interceptor_simplifier.dart

Issue 2997593002: Replace comment style generic method syntax with real syntax (TBR) (Closed)
Patch Set: Created 3 years, 4 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 | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
diff --git a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
index c09299267180cd717d3e4b57fa31f4375b3452f3..0820fdbe539a641dd95de0367af70ec7a7fc8fc4 100644
--- a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
+++ b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
@@ -238,13 +238,13 @@ class SsaSimplifyInterceptors extends HBaseVisitor
if (intercepted.contains(_commonElements.jsIntClass)) {
// TODO(johnniwinther): Use type argument when all uses of
// intercepted classes expect entities instead of elements.
- required ??= new Set/*<ClassEntity>*/();
+ required ??= new Set<ClassEntity>();
required.add(_commonElements.jsIntClass);
}
if (intercepted.contains(_commonElements.jsDoubleClass)) {
// TODO(johnniwinther): Use type argument when all uses of
// intercepted classes expect entities instead of elements.
- required ??= new Set/*<ClassEntity>*/();
+ required ??= new Set<ClassEntity>();
required.add(_commonElements.jsDoubleClass);
}
}
@@ -256,7 +256,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
} else {
// TODO(johnniwinther): Use type argument when all uses of intercepted
// classes expect entities instead of elements.
- interceptedClasses = new Set/*<ClassEntity>*/();
+ interceptedClasses = new Set<ClassEntity>();
for (HInstruction user in node.usedBy) {
if (user is HInvokeDynamic &&
user.isCallOnInterceptor(closedWorld) &&
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698