| Index: runtime/vm/dart_entry.h
|
| diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h
|
| index 92e856298fb090aad10c77bae1913c012bb7d9aa..016f3ce50a7299e39f3af569fa9990411f41000e 100644
|
| --- a/runtime/vm/dart_entry.h
|
| +++ b/runtime/vm/dart_entry.h
|
| @@ -60,6 +60,10 @@ class ArgumentsDescriptor : public ValueObject {
|
| // Initialize the preallocated fixed length arguments descriptors cache.
|
| static void InitOnce();
|
|
|
| + enum {
|
| + kCachedDescriptorCount = 32
|
| + };
|
| +
|
| private:
|
| // Absolute indexes into the array.
|
| enum {
|
| @@ -75,10 +79,6 @@ class ArgumentsDescriptor : public ValueObject {
|
| kNamedEntrySize,
|
| };
|
|
|
| - enum {
|
| - kCachedDescriptorCount = 32
|
| - };
|
| -
|
| static intptr_t LengthFor(intptr_t count) {
|
| // Add 1 for the terminating null.
|
| return kFirstNamedEntryIndex + (kNamedEntrySize * count) + 1;
|
| @@ -91,8 +91,8 @@ class ArgumentsDescriptor : public ValueObject {
|
| // A cache of VM heap allocated arguments descriptors.
|
| static RawArray* cached_args_descriptors_[kCachedDescriptorCount];
|
|
|
| - friend class FullSnapshotWriter;
|
| - friend class VmIsolateSnapshotReader;
|
| + friend class SnapshotReader;
|
| + friend class SnapshotWriter;
|
| DISALLOW_COPY_AND_ASSIGN(ArgumentsDescriptor);
|
| };
|
|
|
|
|