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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.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/DartPropertyAccess.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java b/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java
index fddc51ca456036332ba5831f6cfa4095b25819fa..c3f665695c340f196c2be90aed38dbb1e27abc23 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartPropertyAccess.java
@@ -7,7 +7,6 @@ package com.google.dart.compiler.ast;
import com.google.dart.compiler.common.Symbol;
import com.google.dart.compiler.resolver.Element;
import com.google.dart.compiler.type.Type;
-import com.google.dart.compiler.type.Types;
/**
* Represents a Dart property access expression (a.b).
@@ -16,7 +15,6 @@ public class DartPropertyAccess extends DartExpression implements ElementReferen
private DartNode qualifier;
private DartIdentifier name;
- private DartExpression normalizedNode = this;
private Element referencedElement;
private Type type;
@@ -55,16 +53,6 @@ public class DartPropertyAccess extends DartExpression implements ElementReferen
return name.getTargetSymbol();
}
- public void setNormalizedNode(DartExpression normalizedNode) {
- normalizedNode.setSourceInfo(this);
- this.normalizedNode = normalizedNode;
- }
-
- @Override
- public DartExpression getNormalizedNode() {
- return normalizedNode;
- }
-
@Override
public void setType(Type type) {
this.type = type;

Powered by Google App Engine
This is Rietveld 408576698