| Index: runtime/vm/clustered_snapshot.cc
|
| diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
|
| index 162df5aba3a525e12cbdd3af297aad8795c69983..ea87c49587eb14538e6f998a9cc57475e2589a0d 100644
|
| --- a/runtime/vm/clustered_snapshot.cc
|
| +++ b/runtime/vm/clustered_snapshot.cc
|
| @@ -1982,8 +1982,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);
|
| }
|
| }
|
| @@ -2026,8 +2025,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);
|
| }
|
| }
|
|
|