summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bytecode.pl2
-rw-r--r--ext/ByteLoader/byterun.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bytecode.pl b/bytecode.pl
index 1f30d9be3b..d4b40fb263 100644
--- a/bytecode.pl
+++ b/bytecode.pl
@@ -486,7 +486,7 @@ push_end PL_endav svindex x
curstash *(SV**)&PL_curstash svindex
defstash *(SV**)&PL_defstash svindex
data none U8 x
-incav *(SV**)&PL_incgv svindex
+incav *(SV**)&GvAV(PL_incgv) svindex
load_glob none svindex x
#ifdef USE_ITHREADS
regex_padav *(SV**)&PL_regex_padav svindex
diff --git a/ext/ByteLoader/byterun.c b/ext/ByteLoader/byterun.c
index b29549e00f..636c206c58 100644
--- a/ext/ByteLoader/byterun.c
+++ b/ext/ByteLoader/byterun.c
@@ -1067,7 +1067,7 @@ byterun(pTHX_ register struct byteloader_state *bstate)
{
svindex arg;
BGET_svindex(arg);
- *(SV**)&PL_incgv = arg;
+ *(SV**)&GvAV(PL_incgv) = arg;
break;
}
case INSN_LOAD_GLOB: /* 144 */