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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.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/DartMethodDefinition.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java b/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
index cdd336d777e5e00f419f640ca6e290621c0737c1..afde4ec22f7ef035578779b311dde2ea7f8ba174 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartMethodDefinition.java
@@ -17,7 +17,6 @@ public class DartMethodDefinition extends DartClassMember<DartExpression> {
protected DartFunction function;
private MethodElement element;
- private DartMethodDefinition normalizedNode = this;
public static DartMethodDefinition create(DartExpression name,
DartFunction function,
@@ -50,16 +49,6 @@ public class DartMethodDefinition extends DartClassMember<DartExpression> {
element = (MethodElement) symbol;
}
- public void setNormalizedNode(DartMethodDefinition normalizedNode) {
- normalizedNode.setSourceInfo(this);
- this.normalizedNode = normalizedNode;
- }
-
- @Override
- public DartMethodDefinition getNormalizedNode() {
- return normalizedNode;
- }
-
public List<DartInitializer> getInitializers() {
return Collections.emptyList();
}

Powered by Google App Engine
This is Rietveld 408576698