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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartForInStatement.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/DartForInStatement.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java b/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
index 31f096c399ea519bc8794f50647a6cf8a1e2190c..9247b17080d8a00376a43ca2d2756bcfa9a2278a 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
@@ -13,8 +13,6 @@ public class DartForInStatement extends DartStatement {
private DartExpression iterable;
private DartStatement body;
- private DartStatement normalizedNode = this;
-
public DartForInStatement(DartStatement setup,
DartExpression iterable,
DartStatement body) {
@@ -31,15 +29,6 @@ public class DartForInStatement extends DartStatement {
return iterable;
}
- public void setNormalizedNode(DartStatement statement) {
- normalizedNode = statement;
- }
-
- @Override
- public DartStatement getNormalizedNode() {
- return normalizedNode;
- }
-
public boolean introducesVariable() {
return setup instanceof DartVariableStatement;
}

Powered by Google App Engine
This is Rietveld 408576698