[DTrace-devel] [PATCH 10/14] Consolidate more tvar and assoc code
Nick Alcock
nick.alcock at oracle.com
Tue May 2 16:02:34 UTC 2023
On 2 May 2023, eugene loh uttered the following:
> Subject: Re: [DTrace-devel] [PATCH 10/14] Consolidate more tvar and assoc code
And here, "Consolidate tvar/assoc pointer generation".
I appreciate the effect the previous code-motion commits had on
increasing the readability of this commit: it's as easy to read as
unified diff ever gets, and easy to prove it does what it says it does.
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
.. with one caveat:
> - if (dst->dn_ident->di_kind == DT_IDENT_ARRAY) {
> + if (idp->di_kind == DT_IDENT_ARRAY) {
> /* associative arrays */
This has effectively replaced the comment
> - /* Associative (global or TLS) array. Cannot be in alloca space. */
I'm fairly sure this comment is still accurate, and it's significantly
more detailed. Maybe we should still use it.
--
NULL && (void)
More information about the DTrace-devel
mailing list