/*****************************************************************************
  FILE           : $Source: /usr/local/bv/SNNS/SNNSv4.1/tools/sources/RCS/backpatch.h,v $
  SHORTNAME      : backpatch
  SNNS VERSION   : 4.1

  PURPOSE        : SNNS batch interpreter 
                   Functions to perform backpatching of jump targets
		   in intermediate code

  NOTES          : 

  AUTHOR         : Jens Wieland
  DATE           : 

  CHANGED BY     : 
  IDENTIFICATION : $State: Exp $ $Locker:  $
  RCS VERSION    : $Revision: 1.1 $
  LAST CHANGE    : $Date: 1995/07/03 10:10:05 $

             Copyright (c) 1990-1995  SNNS Group, IPVR, Univ. Stuttgart, FRG

******************************************************************************/

struct bp_list{
  Ic_ptr_type ic_pc;
  struct bp_list *next;
};

typedef struct bp_list bp_list;

#define BP_NULL (bp_list *) 0

extern bp_list *bp_makelist(Ic_ptr_type elem);
extern bp_list *bp_merge(bp_list *list1, bp_list *list2);

extern void bp_backpatch(bp_list *list, Ic_ptr_type label);

