OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [cuc/] [bb.c] - Diff between revs 905 and 906

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 905 Rev 906
Line 90... Line 90...
  n->nmsched = f->nmsched;
  n->nmsched = f->nmsched;
  for (i = 0; i < f->nmsched; i++) {
  for (i = 0; i < f->nmsched; i++) {
    n->msched[i] = f->msched[i];
    n->msched[i] = f->msched[i];
    n->mtype[i] = f->mtype[i];
    n->mtype[i] = f->mtype[i];
  }
  }
 
  n->nfdeps = f->nfdeps;
 
  if (f->nfdeps) {
 
    f->fdeps = (cuc_func **) malloc (sizeof (cuc_func *) * f->nfdeps);
 
    for (i = 0; i < f->nfdeps; i++) n->fdeps[i] = f->fdeps[i];
 
  }
  return n;
  return n;
}
}
 
 
/* Releases memory allocated by function */
/* Releases memory allocated by function */
void free_func (cuc_func *f)
void free_func (cuc_func *f)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.