[vm] Remove Dart 1 enum implementation.

Change-Id: I5033eacf0fb66bb3b922e5c0f62d986c89f81708
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/105801
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak 2019-06-12 19:26:32 +00:00 committed by commit-bot@chromium.org
parent 433cb12a87
commit 8fa1cb2911
2 changed files with 0 additions and 10 deletions

View file

@ -94,14 +94,6 @@ class num {
bool _equalToInteger(int other);
}
// The members of this class are cloned and added to each class that
// represents an enum type.
class _EnumHelper {
String _name;
String toString() => _name;
int get hashCode => _name.hashCode;
}
// _SyncIterable and _syncIterator are used by the compiler to
// implement sync* generator functions. A sync* generator allocates
// and returns a new _SyncIterable object.

View file

@ -330,8 +330,6 @@ class ObjectPointerVisitor;
V(_DeletedEnumPrefix, "Deleted enum value from ") \
V(_DeletedEnumSentinel, "_deleted_enum_sentinel") \
V(_Double, "_Double") \
V(_EnumHelper, "_EnumHelper") \
V(_EnumNames, "_enum_names") \
V(_ExternalFloat32Array, "_ExternalFloat32Array") \
V(_ExternalFloat32x4Array, "_ExternalFloat32x4Array") \
V(_ExternalFloat64Array, "_ExternalFloat64Array") \