Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/runtime/gc/import-heap.c
ViewVC logotype

Diff of /sml/trunk/src/runtime/gc/import-heap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 568, Tue Mar 7 03:59:09 2000 UTC revision 569, Tue Mar 7 04:01:07 2000 UTC
# Line 61  Line 61 
61  PVT ml_val_t RepairWord (  PVT ml_val_t RepairWord (
62          ml_val_t w, aid_t *oldBIBOP, Addr_t addrOffset[MAX_NUM_GENS][NUM_ARENAS],          ml_val_t w, aid_t *oldBIBOP, Addr_t addrOffset[MAX_NUM_GENS][NUM_ARENAS],
63          addr_tbl_t *boRegionTbl, ml_val_t *externs);          addr_tbl_t *boRegionTbl, ml_val_t *externs);
64    /*
65  PVT int RepairBORef (aid_t *bibop, aid_t id, ml_val_t *ref, ml_val_t oldObj);  PVT int RepairBORef (aid_t *bibop, aid_t id, ml_val_t *ref, ml_val_t oldObj);
66    */
67  PVT bo_reloc_t *AddrToRelocInfo (aid_t *, addr_tbl_t *, aid_t, Addr_t);  PVT bo_reloc_t *AddrToRelocInfo (aid_t *, addr_tbl_t *, aid_t, Addr_t);
68    
69  #define READ(bp,obj)    HeapIO_ReadBlock(bp, &(obj), sizeof(obj))  #define READ(bp,obj)    HeapIO_ReadBlock(bp, &(obj), sizeof(obj))
# Line 75  Line 77 
77   */   */
78  ml_state_t *ImportHeapImage (const char *fname, heap_params_t *params)  ml_state_t *ImportHeapImage (const char *fname, heap_params_t *params)
79  {  {
     int                 i;  
80      ml_state_t          *msp;      ml_state_t          *msp;
81      ml_image_hdr_t      imHdr;      ml_image_hdr_t      imHdr;
82      ml_heap_hdr_t       heapHdr;      ml_heap_hdr_t       heapHdr;
# Line 226  Line 227 
227      {      {
228          int                     sz;          int                     sz;
229          bo_region_info_t        *boRgnHdr;          bo_region_info_t        *boRgnHdr;
         bigobj_region_t         *rp;  
230    
231          boRegionTbl = MakeAddrTbl(BIBOP_SHIFT+1, hdr->numBORegions);          boRegionTbl = MakeAddrTbl(BIBOP_SHIFT+1, hdr->numBORegions);
232          sz = hdr->numBORegions * sizeof(bo_region_info_t);          sz = hdr->numBORegions * sizeof(bo_region_info_t);

Legend:
Removed from v.568  
changed lines
  Added in v.569

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0