]> git.vpit.fr Git - perl/modules/autovivification.git/blobdiff - autovivification.xs
Also mark the unstack ops in our peephole optimizer
[perl/modules/autovivification.git] / autovivification.xs
index 12dc5cc825c7b47de8bf4d391c926993d32d48a7..f0e00473b70709ee7b6915551e459f90db07f9ff 100644 (file)
@@ -1024,6 +1024,7 @@ STATIC void a_peep_rec(pTHX_ OP *o, ptable *seen) {
    case OP_NEXTSTATE:
    case OP_DBSTATE:
    case OP_STUB:
+   case OP_UNSTACK:
     if (ptable_fetch(seen, o))
      return;
     ptable_seen_store(seen, o, o);
@@ -1273,8 +1274,8 @@ PREINIT:
  GV     *gv;
 PPCODE:
  {
-  dMY_CXT;
 #if A_WORKAROUND_REQUIRE_PROPAGATION
+  dMY_CXT;
   {
    a_ptable_clone_ud ud;