reset group dep field when reset envelope for recycling.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 27 May 2011 17:20:23 +0000 (12:20 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 27 May 2011 17:20:23 +0000 (12:20 -0500)
src/ck-core/envelope.h

index 87f517e32072a8b189bf079c9d2cd0a4b8ec6fa5..ed09cd2a1c9734baaedc89ef7bb75d3908d9d56c 100644 (file)
@@ -267,7 +267,10 @@ private:
       return env;
     }
     void reset() {
+#if CMK_REPLAYSYSTEM
       setEvent(++CkpvAccess(envelopeEventID));
+#endif
+      type.group.dep.setZero();
     }
     UShort getEpIdx(void) const { return epIdx; }
     void   setEpIdx(const UShort idx) { epIdx = idx; }