OP* op_first; /* optree for method name */
SV* op_meth_sv; /* static method name */
} op_u;
+ SV* op_class_sv; /* static class name */
+ PADOFFSET op_class_targ; /* pad index for class name if threaded */
};
struct pmop {
? cSVOPx(v)->op_sv : PAD_SVl((v)->op_targ))
# define cSVOPx_svp(v) (cSVOPx(v)->op_sv \
? &cSVOPx(v)->op_sv : &PAD_SVl((v)->op_targ))
+# define cMETHOPx_class(v) (cMETHOPx(v)->op_class_targ ? \
+ PAD_SVl(cMETHOPx(v)->op_class_targ) : cMETHOPx(v)->op_class_sv)
#else
# define cGVOPx_gv(o) ((GV*)cSVOPx(o)->op_sv)
# ifndef PERL_CORE
# endif
# define cSVOPx_sv(v) (cSVOPx(v)->op_sv)
# define cSVOPx_svp(v) (&cSVOPx(v)->op_sv)
+# define cMETHOPx_class(v) (cMETHOPx(v)->op_class_sv)
#endif
# define cMETHOPx_meth(v) cSVOPx_sv(v)