Remove value clearing since it no longer has an effect

This commit is contained in:
Eelco Dolstra 2024-03-25 18:35:36 +01:00
parent 8c0590fa32
commit c82623a6cc

View File

@ -290,13 +290,7 @@ public:
inline void finishValue(InternalType newType, Payload newPayload)
{
/* After overwriting thunk/app values, be sure to clear
pointers in the Value to ensure that the target isn't kept
alive unnecessarily. */
payload.app.left = payload.app.right = 0;
payload = newPayload;
internalType = newType;
}