diff options
Diffstat (limited to 'ext/ByteLoader/byterun.c')
-rw-r--r-- | ext/ByteLoader/byterun.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ByteLoader/byterun.c b/ext/ByteLoader/byterun.c index f55feb758a..595fd4e18d 100644 --- a/ext/ByteLoader/byterun.c +++ b/ext/ByteLoader/byterun.c @@ -828,11 +828,11 @@ byterun(pTHXo_ struct bytestream bs) cCOP->cop_label = arg; break; } - case INSN_COP_STASH: /* 109 */ + case INSN_COP_STASHPV: /* 109 */ { - svindex arg; - BGET_svindex(arg); - *(SV**)&cCOP->cop_stash = arg; + pvcontents arg; + BGET_pvcontents(arg); + BSET_cop_stashpv(cCOP, arg); break; } case INSN_COP_FILE: /* 110 */ |