projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10de861
)
nodestack: allocate from "mymemory" region
author
Brian Norris
<banorris@uci.edu>
Mon, 21 May 2012 18:24:43 +0000
(11:24 -0700)
committer
Brian Norris
<banorris@uci.edu>
Mon, 21 May 2012 18:24:43 +0000
(11:24 -0700)
nodestack.h
patch
|
blob
|
history
diff --git
a/nodestack.h
b/nodestack.h
index 2fd84ddeb11e98171ffacefa2fadad1e704079c4..3a0ee74cf0c47a3717997d7a47c04d0a9b824b4f 100644
(file)
--- a/
nodestack.h
+++ b/
nodestack.h
@@
-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;