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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartCase.java

Issue 9597025: Removes unused 'normalized' field in many AST nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: compiler/java/com/google/dart/compiler/ast/DartCase.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartCase.java b/compiler/java/com/google/dart/compiler/ast/DartCase.java
index 4e62e4b0e3de9b7a584563a4bc1ab03362d2169b..6caa87723d9595e467f0aa6604eaf4f0c379e4c6 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartCase.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartCase.java
@@ -12,7 +12,6 @@ import java.util.List;
public class DartCase extends DartSwitchMember {
private DartExpression expr;
- private DartCase normalizedNode = this;
public DartCase(DartExpression expr, DartLabel label, List<DartStatement> statements) {
super(label, statements);
@@ -23,16 +22,6 @@ public class DartCase extends DartSwitchMember {
return expr;
}
- public void setNormalizedNode(DartCase normalizedNode) {
- normalizedNode.setSourceInfo(this);
- this.normalizedNode = normalizedNode;
- }
-
- @Override
- public DartCase getNormalizedNode() {
- return normalizedNode;
- }
-
@Override
public void traverse(DartVisitor v, DartContext ctx) {
if (v.visit(this, ctx)) {

Powered by Google App Engine
This is Rietveld 408576698