return o;
}
-/* ... ck_leave ............................................................ */
-
-STATIC OP *(*indirect_old_ck_leave)(pTHX_ OP *) = 0;
-
-STATIC OP *indirect_ck_leave(pTHX_ OP *o) {
- o = CALL_FPTR(indirect_old_ck_leave)(aTHX_ o);
-
- /* Cleanup relevant entries in case ck_method catches them later. */
- indirect_map_delete(o);
- return o;
-}
+/* We don't need to clean the map entries for leave ops because they can only
+ * be created by mutating from a lineseq. */
/* ... ck_method ........................................................... */
PL_check[OP_SCOPE] = MEMBER_TO_FPTR(indirect_ck_scope);
indirect_old_ck_lineseq = PL_check[OP_LINESEQ];
PL_check[OP_LINESEQ] = MEMBER_TO_FPTR(indirect_ck_scope);
- indirect_old_ck_leave = PL_check[OP_LEAVE];
- PL_check[OP_LEAVE] = MEMBER_TO_FPTR(indirect_ck_leave);
indirect_old_ck_method = PL_check[OP_METHOD];
PL_check[OP_METHOD] = MEMBER_TO_FPTR(indirect_ck_method);