summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-12-06 19:44:02 +0000
committerPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-02-10 14:38:44 +0000
commite3b003dd8ca8d881450f6c96297ffa35f6a92ed1 (patch)
tree07f01054ede218311267930ca74074c3811c7ebb /hv.h
parent37092b6e0002a66af75919be7f9d04c810a962c2 (diff)
downloadperl-e3b003dd8ca8d881450f6c96297ffa35f6a92ed1.tar.gz
Create an initfields CV in each class rather than a static function, so eventually it can store OP fragments
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index 04780adf07..1c3c3147cc 100644
--- a/hv.h
+++ b/hv.h
@@ -135,6 +135,7 @@ struct xpvhv_aux {
/* The following fields are only valid if we have the flag HvAUXf_IS_CLASS */
HV *xhv_class_superclass; /* STASH of the :isa() base class */
+ CV *xhv_class_initfields_cv; /* CV for running initfields */
AV *xhv_class_adjust_blocks; /* CVs containing the ADJUST blocks */
PADNAMELIST *xhv_class_fields; /* PADNAMEs with PadnameIsFIELD() */
PADOFFSET xhv_class_next_fieldix;