| Index: compiler/java/com/google/dart/compiler/ast/DartClass.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartClass.java b/compiler/java/com/google/dart/compiler/ast/DartClass.java
|
| index 1143e648d14ff04cb01426ede46cb8eeaaeda558..a8045cd5f28faf9e8983591e28316fd4739cb437 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartClass.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartClass.java
|
| @@ -27,8 +27,6 @@ public class DartClass extends DartDeclaration<DartIdentifier> implements HasSym
|
| private DartParameterizedTypeNode defaultClass;
|
| private final Modifiers modifiers;
|
|
|
| - private int hash = -1;
|
| -
|
| // If the Dart class is implemented by a native JS class the nativeName
|
| // points to the JS class. Otherwise it is null.
|
| private final DartStringLiteral nativeName;
|
| @@ -56,14 +54,6 @@ public class DartClass extends DartDeclaration<DartIdentifier> implements HasSym
|
| Modifiers.NONE);
|
| }
|
|
|
| - /**
|
| - * Set the diet-string hash code for the class
|
| - * @param hash the hash code to set
|
| - */
|
| - void setHash(int hash) {
|
| - this.hash = hash;
|
| - }
|
| -
|
| public DartClass(DartIdentifier name, DartStringLiteral nativeName,
|
| DartTypeNode superclass, List<DartTypeNode> interfaces,
|
| List<DartNode> members,
|
| @@ -215,15 +205,4 @@ public class DartClass extends DartDeclaration<DartIdentifier> implements HasSym
|
| public <R> R accept(DartPlainVisitor<R> visitor) {
|
| return visitor.visitClass(this);
|
| }
|
| -
|
| - @Override
|
| - public int computeHash() {
|
| - // TODO(jgw): Remove this altogether in fixing b/5324113.
|
| -
|
| - // Cache hashes for DartClass, because they're always needed.
|
| - if (this.hash == -1) {
|
| - this.hash = super.computeHash();
|
| - }
|
| - return this.hash;
|
| - }
|
| }
|
|
|