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

Unified Diff: dart/lib/compiler/implementation/ssa/optimize.dart

Issue 10377166: Prepare to have more than one universe. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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
« no previous file with comments | « dart/lib/compiler/implementation/ssa/codegen.dart ('k') | dart/lib/compiler/implementation/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/ssa/optimize.dart
diff --git a/dart/lib/compiler/implementation/ssa/optimize.dart b/dart/lib/compiler/implementation/ssa/optimize.dart
index 982fb5eeca6bce6ce0f6a23692235d8b7098aaad..2a2916ffa7c8c96791aaca04aae7249d97752bdd 100644
--- a/dart/lib/compiler/implementation/ssa/optimize.dart
+++ b/dart/lib/compiler/implementation/ssa/optimize.dart
@@ -542,7 +542,7 @@ class SsaConstantFolder extends HBaseVisitor implements OptimizationPhase {
}
// TODO(karlklose): remove the hasTypeArguments check.
} else if (expressionType.isUseful()
- && !compiler.universe.rti.hasTypeArguments(type)) {
+ && !compiler.codegenWorld.rti.hasTypeArguments(type)) {
Type receiverType = expressionType.computeType(compiler);
if (receiverType !== null) {
if (compiler.types.isSubtype(receiverType, type)) {
« no previous file with comments | « dart/lib/compiler/implementation/ssa/codegen.dart ('k') | dart/lib/compiler/implementation/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698