diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-08 18:50:40 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-08 18:50:40 +0000 |
commit | 350de78d9c02710bb008e9ca922c78ba251ec366 (patch) | |
tree | 6d721d7c176e73d19432c7bee8dc5f75d5572bda /pp_hot.c | |
parent | d18c61170a30691556a1da7413e13241a92f4e0a (diff) | |
download | perl-350de78d9c02710bb008e9ca922c78ba251ec366.tar.gz |
preliminary support for GVOP indirection via pad
p4raw-id: //depot/perl@4539
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -58,9 +58,9 @@ PP(pp_gvsv) djSP; EXTEND(SP,1); if (PL_op->op_private & OPpLVAL_INTRO) - PUSHs(save_scalar((GV*)cSVOP->op_sv)); + PUSHs(save_scalar(cGVOP)); else - PUSHs(GvSV((GV*)cSVOP->op_sv)); + PUSHs(GvSV(cGVOP)); RETURN; } @@ -95,7 +95,7 @@ PP(pp_stringify) PP(pp_gv) { djSP; - XPUSHs(cSVOP->op_sv); + XPUSHs((SV*)cGVOP); RETURN; } @@ -271,7 +271,7 @@ PP(pp_add) PP(pp_aelemfast) { djSP; - AV *av = GvAV((GV*)cSVOP->op_sv); + AV *av = GvAV(cGVOP); U32 lval = PL_op->op_flags & OPf_MOD; SV** svp = av_fetch(av, PL_op->op_private, lval); SV *sv = (svp ? *svp : &PL_sv_undef); |