diff options
author | David Mitchell <davem@iabyn.com> | 2020-04-27 21:53:43 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2020-04-27 21:53:43 +0100 |
commit | 2abf7efcc0ff8978340af661cb333175a899a84e (patch) | |
tree | 6874a50b9a3c4ef7d2b6807cf50409f4ba7532cb /op.c | |
parent | c6b2e294d8420e0bf8a959617e087a086a43abc8 (diff) | |
download | perl-2abf7efcc0ff8978340af661cb333175a899a84e.tar.gz |
Revert "fixup to "avoid identical stack traces" - try 2"
This reverts commit ad89278aa25475fb03971aec66692e18e35d9c07.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -11739,9 +11739,10 @@ S_process_special_blocks(pTHX_ I32 floor, const char *const fullname, * to PL_compiling, IN_PERL_COMPILETIME/IN_PERL_RUNTIME * will give the wrong answer. */ - PL_curcop = (COP*)newSTATEOP(PL_compiling.op_flags, NULL, NULL); - CopLINE_set(PL_curcop, CopLINE(&PL_compiling)); - SAVEFREEOP(PL_curcop); + Newx(PL_curcop, 1, COP); + StructCopy(&PL_compiling, PL_curcop, COP); + PL_curcop->op_slabbed = 0; + SAVEFREEPV(PL_curcop); } PUSHSTACKi(PERLSI_REQUIRE); |