cvsuser     04/02/23 00:52:31

  Modified:    imcc     instructions.c
  Log:
  fix invalid read for imcpasm -O tests
  
  Revision  Changes    Path
  1.54      +2 -0      parrot/imcc/instructions.c
  
  Index: instructions.c
  ===================================================================
  RCS file: /cvs/public/parrot/imcc/instructions.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -w -r1.53 -r1.54
  --- instructions.c    24 Nov 2003 05:51:09 -0000      1.53
  +++ instructions.c    23 Feb 2004 08:52:31 -0000      1.54
  @@ -238,6 +238,8 @@
           unit->instructions = next;
       if (next)
           next->prev = prev;
  +    else
  +        unit->last_ins = prev;
       if (needs_freeing)
           free_ins(ins);
       return next;
  
  
  

Reply via email to