mirror of
https://github.com/NixOS/nix
synced 2025-07-06 17:31:47 +02:00
Remove value clearing since it no longer has an effect
This commit is contained in:
parent
8c0590fa32
commit
c82623a6cc
1 changed files with 0 additions and 6 deletions
|
@ -290,13 +290,7 @@ public:
|
||||||
|
|
||||||
inline void finishValue(InternalType newType, Payload newPayload)
|
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;
|
payload = newPayload;
|
||||||
|
|
||||||
internalType = newType;
|
internalType = newType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue