| Index: runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| index 6e589414903348dba67141dc3a497bff844b39ea..07da7f1c5a748cdbf91b7684d145ee14f1a0aa53 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/megamorphiccache.dart
|
| @@ -9,5 +9,20 @@ class MegamorphicCacheRefMock implements M.MegamorphicCacheRef {
|
| final String selector;
|
|
|
| const MegamorphicCacheRefMock({this.id : 'megamorphiccache-id',
|
| - this.selector});
|
| + this.selector: 'selector'});
|
| +}
|
| +
|
| +class MegamorphicCacheMock implements M.MegamorphicCache {
|
| + final String id;
|
| + final M.ClassRef clazz;
|
| + final int size;
|
| + final String selector;
|
| + final int mask;
|
| + final M.InstanceRef buckets;
|
| + final M.InstanceRef argumentsDescriptor;
|
| +
|
| + const MegamorphicCacheMock({this.id : 'megamorphiccache-id',
|
| + this.clazz: const ClassRefMock(), this.size: 1, this.selector: 'selector',
|
| + this.mask: 0, this.buckets: const InstanceRefMock(),
|
| + this.argumentsDescriptor: const InstanceRefMock()});
|
| }
|
|
|