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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartNode.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/DartNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartNode.java b/compiler/java/com/google/dart/compiler/ast/DartNode.java
index 3761c1f303a8b57a9ced9103743bdfaa6285e383..efef84e5626c8e66e5e380b826c91c1396b7e39d 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartNode.java
@@ -37,10 +37,6 @@ public abstract class DartNode extends AbstractNode implements DartVisitable {
throw new UnsupportedOperationException(getClass().getSimpleName());
}
- public DartNode getNormalizedNode() {
- return this;
- }
-
public Type getType() {
return Types.newDynamicType();
}
@@ -147,7 +143,7 @@ public abstract class DartNode extends AbstractNode implements DartVisitable {
// TODO (fabiomfv) - Implement proper cloning when strictly needed.
return this;
}
-
+
public String getObjectIdentifier(){
return super.toString();
}

Powered by Google App Engine
This is Rietveld 408576698