Initializing variable which contains global snapshotting regions
[model-checker.git] / model.cc
index a7d9aeba173fef53b9375d157aa731f705a14e2a..5ecad250c9d35138a9573a2904643bef5f887cd6 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -4,6 +4,8 @@
 #include "action.h"
 #include "tree.h"
 #include "schedule.h"
+#include "snapshot-interface.h"
+#undef DEBUG
 #include "common.h"
 
 #define INITIAL_THREAD_ID      0
@@ -54,6 +56,7 @@ ModelChecker::ModelChecker()
        rootNode = new TreeNode();
        currentNode = rootNode;
        action_trace = new action_list_t();
+       global_vec = snapshot_utils::ReturnGlobalSegmentsToSnapshot();
 }
 
 ModelChecker::~ModelChecker()