The caller is responsible for emitting ThrowIfTDZ before calling emit_set_variable(), matching the C++ pipeline behavior. Remove the redundant TDZ checks from both the const and non-const local paths.