From: yeom Date: Fri, 5 Nov 2010 20:59:46 +0000 (+0000) Subject: changes: don't need to have resolvePointer opr for coarse cases. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94ae60519140f72f84ae6a4a04622a63f7ac6261;p=IRC.git changes: don't need to have resolvePointer opr for coarse cases. --- diff --git a/Robust/src/Runtime/mlp_runtime.c b/Robust/src/Runtime/mlp_runtime.c index ad733fc4..ee4a593f 100644 --- a/Robust/src/Runtime/mlp_runtime.c +++ b/Robust/src/Runtime/mlp_runtime.c @@ -969,8 +969,13 @@ int RESOLVEBUF(MemoryQueue * q, SESEcommon *seseCommon){ void resolvePointer(REntry* rentry){ Hashtable* table=(Hashtable *)rentry->qitem; MemoryQueue* queue; - if(table==NULL || table->unresolvedQueue==NULL){ - //resolved already before related rentry is enqueued to the waiting queue + // we don't need to consider unresolved cases for coarse rentries. + // or if resolved already before related rentry is enqueued to the waiting queue + if(rentry->type==COARSE || + rentry->type==PARENTCOARSE || + rentry->type==SCCITEM || + table==NULL || + table->unresolvedQueue==NULL){ return; } struct Queue* val;