The optimizing compiler already has the ability to sink allocations to the point where they escape. Doing this for activation and function allocations would enable us to prove cases where the function cannot see the TDZ of some let-bound variables.