annoying bug fixed; works well with current recovery system
[IRC.git] / Robust / src / Runtime / DSTM / interface / dstm.h
index ed76898e817d6a3c9554bd76f48c8e7b817d598a..880d2b9be3842142fd5bbafe63b314c9918aecc0 100644 (file)
@@ -5,6 +5,7 @@
 #define MSG_NOSIGNAL 0
 #endif
 
+#define CFENCE   asm volatile("":::"memory");
 /***********************************************************
  *       Macros
  **********************************************************/
@@ -267,7 +268,7 @@ void mapObjMethod(unsigned short);
 
 void randomdelay();
 void transStart();
-//#define TRANSREAD(x,y,z(tobe passed as a parameter to transRead2)) {
+//#define TRANSREAD(x,y,z) /* Use "z" which is program point at which TRANSREAD is generated, use this as transRead2(inputvalue,z) */
 #define TRANSREAD(x,y) { \
   unsigned int inputvalue;\
 if ((inputvalue=(unsigned int)y)==0) x=NULL;\