X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=actionlist.h;h=ee0a144590fb8fd6ed146c025eab2e10c8984409;hp=70f90eb8a93da61b647afb1b1323344c36c0c03b;hb=25d73096cfc14c655f94b01bb235cc5efd1d5696;hpb=15ea44894415d4b1150728658d65c641556e5fcf;ds=sidebyside diff --git a/actionlist.h b/actionlist.h index 70f90eb8..ee0a1445 100644 --- a/actionlist.h +++ b/actionlist.h @@ -4,7 +4,9 @@ #include "classlist.h" #include "stl-model.h" -#define ISACT 1 +#define ISACT ((uintptr_t) 1ULL) +#define ACTMASK (~ISACT) + #define ALLBITS 4 #define ALLNODESIZE (1 << ALLBITS) #define ALLMASK ((1 << ALLBITS)-1) @@ -39,6 +41,7 @@ public: uint size() {return _size;} sllnode * begin() {return head;} sllnode * end() {return tail;} + void fixupParent(); SNAPSHOTALLOC;