From b761e4f3201b3964a09edcc185e886bf450923d9 Mon Sep 17 00:00:00 2001 From: Pavel Yaskevich Date: Wed, 7 Feb 2024 12:33:01 -0800 Subject: [PATCH] [ConstraintSystem] NFC: Remove duplicate entry from `Solution::getTotalMemory` --- lib/Sema/ConstraintSystem.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Sema/ConstraintSystem.cpp b/lib/Sema/ConstraintSystem.cpp index 249c848992797..c16f640979e9a 100644 --- a/lib/Sema/ConstraintSystem.cpp +++ b/lib/Sema/ConstraintSystem.cpp @@ -4423,7 +4423,6 @@ size_t Solution::getTotalMemory() const { size_in_bytes(PackEnvironments) + PackElementGenericEnvironments.size() + (DefaultedConstraints.size() * sizeof(void *)) + - ImplicitCallAsFunctionRoots.getMemorySize() + nodeTypes.getMemorySize() + keyPathComponentTypes.getMemorySize() + size_in_bytes(KeyPaths) +