| Index: runtime/vm/clustered_snapshot.cc
|
| diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
|
| index 7c7a061b631cc525b181394d4baf3f20048c9b5d..732282b3340307d73a959a3620f2bdc40f40c5ba 100644
|
| --- a/runtime/vm/clustered_snapshot.cc
|
| +++ b/runtime/vm/clustered_snapshot.cc
|
| @@ -1985,8 +1985,7 @@ class ExceptionHandlersSerializationCluster : public SerializationCluster {
|
| s->WriteRef(handlers->ptr()->handled_types_data_);
|
|
|
| uint8_t* data = reinterpret_cast<uint8_t*>(handlers->ptr()->data());
|
| - intptr_t length_in_bytes =
|
| - length * sizeof(RawExceptionHandlers::HandlerInfo);
|
| + intptr_t length_in_bytes = length * sizeof(HandlerInfo);
|
| s->WriteBytes(data, length_in_bytes);
|
| }
|
| }
|
| @@ -2029,8 +2028,7 @@ class ExceptionHandlersDeserializationCluster : public DeserializationCluster {
|
| reinterpret_cast<RawArray*>(d->ReadRef());
|
|
|
| uint8_t* data = reinterpret_cast<uint8_t*>(handlers->ptr()->data());
|
| - intptr_t length_in_bytes =
|
| - length * sizeof(RawExceptionHandlers::HandlerInfo);
|
| + intptr_t length_in_bytes = length * sizeof(HandlerInfo);
|
| d->ReadBytes(data, length_in_bytes);
|
| }
|
| }
|
|
|