projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ac536
)
model: remove extraneous copy-and-paste
author
Brian Norris
<banorris@uci.edu>
Tue, 4 Dec 2012 00:58:58 +0000
(16:58 -0800)
committer
Brian Norris
<banorris@uci.edu>
Tue, 4 Dec 2012 02:26:48 +0000
(18:26 -0800)
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index cd20321bb8c76a4c76adb1b43c29d8c2c7e6b4b5..82b90601048845f32a9af77d57e938e8fb11450f 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-2006,10
+2006,6
@@
void ModelChecker::add_action_to_lists(ModelAction *act)
if (tid >= (int)vec->size())
vec->resize(priv->next_thread_id);
(*vec)[tid].push_back(act);
-
- if ((int)thrd_last_action->size() <= tid)
- thrd_last_action->resize(get_num_threads());
- (*thrd_last_action)[tid] = act;
}
}