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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/ast/DartCase.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java b/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
index 96d1c0d45a5f99e71c978ca72d613f0384f14535..6fc7fbb9ad51a32a1c901222f561a599642c8dfd 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartBinaryExpression.java
@@ -15,7 +15,6 @@ public class DartBinaryExpression extends DartExpression implements ElementRefer
private final Token op;
private DartExpression arg1;
private DartExpression arg2;
- private DartExpression normalizedNode = this;
private Element referencedElement;
public DartBinaryExpression(Token op, DartExpression arg1, DartExpression arg2) {
@@ -38,16 +37,6 @@ public class DartBinaryExpression extends DartExpression implements ElementRefer
return op;
}
- public void setNormalizedNode(DartExpression normalizedNode) {
- normalizedNode.setSourceInfo(this);
- this.normalizedNode = normalizedNode;
- }
-
- @Override
- public DartExpression getNormalizedNode() {
- return normalizedNode;
- }
-
@Override
public void traverse(DartVisitor v, DartContext ctx) {
if (v.visit(this, ctx)) {
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/ast/DartCase.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698