(bug #39887)
Remove XS_VERSION, make it equal to VERSION
p4raw-id: //depot/perl@28797
NAME => 'Opcode',
MAN3PODS => {},
VERSION_FROM => 'Opcode.pm',
- XS_VERSION => '1.03'
);
use strict;
-our($VERSION, $XS_VERSION, @ISA, @EXPORT_OK);
+our($VERSION, @ISA, @EXPORT_OK);
-$VERSION = "1.08";
-$XS_VERSION = "1.03";
+$VERSION = "1.09";
use Carp;
use Exporter ();
sub opdump (;$);
use subs @EXPORT_OK;
-XSLoader::load 'Opcode', $XS_VERSION;
+XSLoader::load 'Opcode', $VERSION;
_init_optags();
dummy_hv = save_hash(PL_incgv);
GvHV(PL_incgv) = (HV*)SvREFCNT_inc(GvHV(gv_HVadd(gv_fetchpv("INC",TRUE,SVt_PVHV))));
+ /* Invalidate ISA and method caches */
+ ++PL_sub_generation;
+ hv_clear(PL_stashcache);
+
PUSHMARK(SP);
perl_call_sv(codesv, GIMME|G_EVAL|G_KEEPERR); /* use callers context */
sv_free( (SV *) dummy_hv); /* get rid of what save_hash gave us*/