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

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

Issue 11299009: Support type literals as compile-time constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month 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/universe/universe.dart
diff --git a/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
index ced6600055c5b0ad88cd96bbaf2dd87207e88639..e6216cb5b9190443749cb35bc4eaec4d99c938b0 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -7,7 +7,6 @@ library universe;
import '../closure.dart';
import '../elements/elements.dart';
import '../dart2jslib.dart';
-import '../runtime_types.dart';
import '../tree/tree.dart';
import '../util/util.dart';
@@ -49,7 +48,6 @@ class Universe {
final Map<SourceString, Set<Selector>> fieldGetters;
final Map<SourceString, Set<Selector>> fieldSetters;
final Set<DartType> isChecks;
- final RuntimeTypeInformation rti;
Universe() : generatedCode = new Map<Element, CodeBuffer>(),
generatedBailoutCode = new Map<Element, CodeBuffer>(),
@@ -60,8 +58,7 @@ class Universe {
invokedSetters = new Map<SourceString, Set<Selector>>(),
fieldGetters = new Map<SourceString, Set<Selector>>(),
fieldSetters = new Map<SourceString, Set<Selector>>(),
- isChecks = new Set<DartType>(),
- rti = new RuntimeTypeInformation();
+ isChecks = new Set<DartType>();
void addGeneratedCode(WorkItem work, CodeBuffer codeBuffer) {
assert(invariant(work.element, work.element.isDeclaration));

Powered by Google App Engine
This is Rietveld 408576698