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

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

Issue 304153014: Remove element from DynamicType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix infinite loop. Created 6 years, 7 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/enqueue.dart
diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart
index a41bdecf371aee8101984e13c89478a22be2cd1b..a33db7f9b565287804be06579292f22de936fb77 100644
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -130,9 +130,9 @@ abstract class Enqueuer {
registerInstantiatedType(cls.rawType, registry);
}
- void registerTypeLiteral(Element element, Registry registry) {
+ void registerTypeLiteral(DartType type, Registry registry) {
registerInstantiatedClass(compiler.typeClass, registry);
- compiler.backend.registerTypeLiteral(element, this, registry);
+ compiler.backend.registerTypeLiteral(type, this, registry);
}
bool checkNoEnqueuedInvokedInstanceMethods() {

Powered by Google App Engine
This is Rietveld 408576698