diff options
author | Vincent Pit <perl@profvince.com> | 2008-02-16 00:08:50 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-02-23 08:19:00 +0000 |
commit | 996c9baa63e0776f6650c6ba32b83baefb5f0505 (patch) | |
tree | ceede97c9784ea550dfbe56588e7d64969f6868d /pp_ctl.c | |
parent | 910e06714ae57f4d3d804265c3d148726c7a8a2b (diff) | |
download | perl-996c9baa63e0776f6650c6ba32b83baefb5f0505.tar.gz |
Re: [PATCH] Splitting OP_CONST (Was: pp_const, not, that, hot?)
Message-ID: <47B60D72.50708@profvince.com>
Date: Fri, 15 Feb 2008 23:08:50 +0100
p4raw-id: //depot/perl@33356
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -3610,6 +3610,19 @@ PP(pp_require) return op; } +/* This is a op added to hold the hints hash for + pp_entereval. The hash can be modified by the code + being eval'ed, so we return a copy instead. */ + +PP(pp_hintseval) +{ + dVAR; + dSP; + mXPUSHs((SV*)Perl_hv_copy_hints_hv(aTHX_ (HV*)cSVOP_sv)); + RETURN; +} + + PP(pp_entereval) { dVAR; dSP; |