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

Unified Diff: lib/compiler/implementation/enqueue.dart

Issue 10081004: Remove frog dependencies from lib/compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add TODO. Created 8 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
« no previous file with comments | « lib/compiler/implementation/dart2js.dart ('k') | lib/compiler/implementation/frog_leg.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/enqueue.dart
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart
index 02d5f96cc9008f802dc657c4a1423ba40f1d491e..874e38d1e8e852613c4ccbb20989a69b3ea76071 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -111,17 +111,19 @@ class EnqueueTask extends CompilerTask {
}
}
- void onRegisterInstantiatedClass(ClassElement cls) => measure(() {
- while (cls !== null) {
- if (seenClasses.contains(cls)) return;
- seenClasses.add(cls);
- // TODO(ahe): Don't call resolveType, instead, call this method
- // when resolveType is called.
- compiler.resolveType(cls);
- cls.members.forEach(processInstantiatedClassMember);
- cls = cls.superclass;
- }
- });
+ void onRegisterInstantiatedClass(ClassElement cls) {
+ measure(() {
+ while (cls !== null) {
+ if (seenClasses.contains(cls)) return;
+ seenClasses.add(cls);
+ // TODO(ahe): Don't call resolveType, instead, call this method
+ // when resolveType is called.
+ compiler.resolveType(cls);
+ cls.members.forEach(processInstantiatedClassMember);
+ cls = cls.superclass;
+ }
+ });
+ }
void registerInvocation(SourceString methodName, Selector selector) {
measure(() {
« no previous file with comments | « lib/compiler/implementation/dart2js.dart ('k') | lib/compiler/implementation/frog_leg.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698