nodestack: allocate from "mymemory" region
authorBrian Norris <banorris@uci.edu>
Mon, 21 May 2012 18:24:43 +0000 (11:24 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 21 May 2012 18:24:43 +0000 (11:24 -0700)
nodestack.h

index 2fd84ddeb11e98171ffacefa2fadad1e704079c4..3a0ee74cf0c47a3717997d7a47c04d0a9b824b4f 100644 (file)
@@ -5,6 +5,7 @@
 #include <vector>
 #include <cstddef>
 #include "threads.h"
+#include "mymemory.h"
 
 class ModelAction;
 
@@ -26,6 +27,8 @@ public:
        void print();
 
        static int get_total_nodes() { return total_nodes; }
+
+       MEMALLOC
 private:
        void explore(thread_id_t tid);
 
@@ -48,6 +51,8 @@ public:
        void reset_execution();
 
        void print();
+
+       MEMALLOC
 private:
        node_list_t node_list;
        node_list_t::iterator iter;