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

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

Issue 11299009: Support type literals as compile-time constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index e4168043e997239604dbdbb60437fd584ee8c811..885cf0acf4dc460dbe1291d8a05078cfdd58af51 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -540,6 +540,9 @@ abstract class Compiler implements DiagnosticListener {
log('Inferring types...');
typesTask.onResolutionComplete(main);
+ // Initialize runtime type information support.
+ enqueuer.codegen.universe.rti = new RuntimeTypeInformation(this);
ngeoffray 2012/11/19 16:54:09 Setting this field here seems very arbitrary. The
karlklose 2012/11/20 14:04:38 Done, moved rti to the backend.
+
// TODO(ahe): Remove this line. Eventually, enqueuer.resolution
// should know this.
world.populate();

Powered by Google App Engine
This is Rietveld 408576698