From: adash Date: Sun, 8 Mar 2009 02:06:09 +0000 (+0000) Subject: bug fix X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=724869fb11a1f2df5b5e6da180e819bf69d300a8;p=IRC.git bug fix --- diff --git a/Robust/src/Runtime/DSTM/interface/prefetch.c b/Robust/src/Runtime/DSTM/interface/prefetch.c index c8fec116..75eca878 100644 --- a/Robust/src/Runtime/DSTM/interface/prefetch.c +++ b/Robust/src/Runtime/DSTM/interface/prefetch.c @@ -128,6 +128,7 @@ perMcPrefetchList_t *processRemote(unsigned int oid, short * offsetarray, int s //forward prefetch int machinenum = lhashSearch(oid); insertPrefetch(machinenum, oid, numoffset, offsetarray, &head); + return head; } else { sendOidFound(header, oid, sd); } @@ -401,7 +402,7 @@ unsigned int getNextOid(objheader_t * header, short * offsetarray, unsigned int int startindex= offsetarray[top+2]; int currcount = dfsList[top+1]; int range = GET_RANGE(offsetarray[top + 3]); - + if(TYPE(header) > NUMCLASSES) { //Array case struct ArrayObject *ao = (struct ArrayObject *) (((char *)header) + sizeof(objheader_t));