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

Unified Diff: pkg/compiler/lib/src/cps_ir/type_propagation.dart

Issue 1011383003: Use an explicit 'this' parameter instead of 'This' nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: test updates Created 5 years, 9 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: pkg/compiler/lib/src/cps_ir/type_propagation.dart
diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
index bdacd015367b857e01c2152b372cbf76ea9f7d32..a8b12bedb12a97f09deeddaf6955cffea01cd6fc 100644
--- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
+++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
@@ -725,11 +725,6 @@ class _TypePropagationVisitor<T> implements Visitor {
setValue(node, constantValue(value, typeSystem.typeOf(value)));
}
- void visitThis(This node) {
- // TODO(karlklose): Add the type.
- setValue(node, nonConst());
- }
-
void visitReifyTypeVar(ReifyTypeVar node) {
setValue(node, nonConst(typeSystem.typeType));
}

Powered by Google App Engine
This is Rietveld 408576698