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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.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 | « compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java b/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
index 570ed48cb104fd6694c6d873896b0c9616711d05..13e29355606c5850c19e8f2705323ab92930530c 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
@@ -15,7 +15,6 @@ public class DartUnaryExpression extends DartExpression implements ElementRefere
private final Token operator;
private DartExpression arg;
private final boolean isPrefix;
- private DartExpression normalizedNode = this;
private Element referencedElement;
public DartUnaryExpression(Token operator, DartExpression arg, boolean isPrefix) {
@@ -38,16 +37,6 @@ public class DartUnaryExpression extends DartExpression implements ElementRefere
return isPrefix;
}
- 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 | « compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698