Speed up aassign
Ilya Zakharevich [Sun, 18 Oct 1998 23:10:29 +0000 (19:10 -0400)]
Message-Id: <199810190310.XAA28102@monk.mps.ohio-state.edu>

p4raw-id: //depot/perl@2062

pp_hot.c

index ecd8029..24bb4da 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -593,6 +593,7 @@ PP(pp_aassign)
      * clobber a value on the right that's used later in the list.
      */
     if (PL_op->op_private & OPpASSIGN_COMMON) {
+       EXTEND_MORTAL(lastrelem - firstrelem + 1);
         for (relem = firstrelem; relem <= lastrelem; relem++) {
             /*SUPPRESS 560*/
             if (sv = *relem) {