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(); |