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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartParameter.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/DartParameter.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartParameter.java b/compiler/java/com/google/dart/compiler/ast/DartParameter.java
index 9c82f8c06fbbf04fe02e35c298ec8b24d6464f9c..3e99cad641e2d91899f00c6ae5f73ac2d743c795 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartParameter.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartParameter.java
@@ -20,7 +20,6 @@ public class DartParameter extends DartDeclaration<DartExpression> implements Ha
private DartTypeNode typeNode;
private List<DartParameter> functionParameters;
private DartExpression defaultExpr;
- private DartParameter normalizedNode = this;
private final Modifiers modifiers;
public DartParameter(DartExpression name,
@@ -73,16 +72,6 @@ public class DartParameter extends DartDeclaration<DartExpression> implements Ha
return null;
}
- public void setNormalizedNode(DartParameter normalizedNode) {
- normalizedNode.setSourceInfo(this);
- this.normalizedNode = normalizedNode;
- }
-
- @Override
- public DartParameter getNormalizedNode() {
- return normalizedNode;
- }
-
@Override
public void setSymbol(Symbol symbol) {
this.symbol = (VariableElement) symbol;

Powered by Google App Engine
This is Rietveld 408576698