| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 40230)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -3091,14 +3091,13 @@
|
|
|
| static intptr_t InstanceSize() {
|
| ASSERT(sizeof(RawLocalVarDescriptors) ==
|
| - OFFSET_OF_RETURNED_VALUE(RawLocalVarDescriptors, names));
|
| + OFFSET_OF_RETURNED_VALUE(RawLocalVarDescriptors, data));
|
| return 0;
|
| }
|
| static intptr_t InstanceSize(intptr_t len) {
|
| ASSERT(0 <= len && len <= kMaxElements);
|
| - return RoundedAllocationSize(sizeof(RawLocalVarDescriptors)
|
| - + (len * kWordSize) // RawStrings for names.
|
| - + (len * sizeof(RawLocalVarDescriptors::VarInfo)));
|
| + return RoundedAllocationSize(
|
| + sizeof(RawLocalVarDescriptors) + (len * kBytesPerElement));
|
| }
|
|
|
| static RawLocalVarDescriptors* New(intptr_t num_variables);
|
|
|