|
|
@ -182,12 +182,11 @@ class PROTOBUF_EXPORT InternalMetadata { |
|
|
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
template <typename T> |
|
|
|
PROTOBUF_NOINLINE void DeleteOutOfLineHelper() { |
|
|
|
PROTOBUF_NOINLINE void DeleteOutOfLineHelper() { |
|
|
|
// TODO(b/188560391): Determine if this branch is needed.
|
|
|
|
|
|
|
|
if (!arena()) { |
|
|
|
|
|
|
|
delete PtrValue<Container<T>>(); |
|
|
|
delete PtrValue<Container<T>>(); |
|
|
|
|
|
|
|
// TODO(b/188560391): This store is load-bearing. Since we are destructing
|
|
|
|
|
|
|
|
// the message at this point, see if we can eliminate it.
|
|
|
|
ptr_ = 0; |
|
|
|
ptr_ = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
template <typename T> |
|
|
|
PROTOBUF_NOINLINE T* mutable_unknown_fields_slow() { |
|
|
|
PROTOBUF_NOINLINE T* mutable_unknown_fields_slow() { |
|
|
|