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:
4224cb3
)
model: don't reset action_trace manually
author
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 00:11:09 +0000
(17:11 -0700)
committer
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 01:03:27 +0000
(18:03 -0700)
Snapshotting takes care of this one
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 4db55728db7e347383fcdb70b070c7ac8f94a4f4..1dea669fbd5f5c1a99888c2db54d1141f4ee907a 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-50,8
+50,6
@@
void ModelChecker::reset_to_initial_state()
for (it = thread_map->begin(); it != thread_map->end(); it++)
delete (*it).second;
thread_map->clear();
- delete action_trace;
- action_trace = new action_list_t();
node_stack->reset_execution();
current_action = NULL;
next_thread_id = INITIAL_THREAD_ID;