projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
execution: embed action_list as full member
[model-checker.git]
/
execution.h
diff --git
a/execution.h
b/execution.h
index e9c78ded53f7c45eaf04588287e61e946f17abf5..6e4fd2ab900988df3d40e1b06be6c8f38d8df3f7 100644
(file)
--- a/
execution.h
+++ b/
execution.h
@@
-111,7
+111,7
@@
public:
ModelAction * get_next_backtrack();
ModelAction * get_next_backtrack();
- action_list_t * get_action_trace()
const { return
action_trace; }
+ action_list_t * get_action_trace()
{ return &
action_trace; }
SNAPSHOTALLOC
private:
SNAPSHOTALLOC
private:
@@
-185,8
+185,8
@@
private:
ModelAction * get_uninitialized_action(const ModelAction *curr) const;
ModelAction * get_uninitialized_action(const ModelAction *curr) const;
- action_list_t
* const
action_trace;
- HashTable<int, Thread *, int>
* const
thread_map;
+ action_list_t action_trace;
+ HashTable<int, Thread *, int> thread_map;
/** Per-object list of actions. Maps an object (i.e., memory location)
* to a trace of all actions performed on the object. */
/** Per-object list of actions. Maps an object (i.e., memory location)
* to a trace of all actions performed on the object. */
@@
-194,9
+194,9
@@
private:
/** Per-object list of actions. Maps an object (i.e., memory location)
* to a trace of all actions performed on the object. */
/** Per-object list of actions. Maps an object (i.e., memory location)
* to a trace of all actions performed on the object. */
- HashTable<const void *, action_list_t *, uintptr_t, 4>
* const
condvar_waiters_map;
+ HashTable<const void *, action_list_t *, uintptr_t, 4> condvar_waiters_map;
- HashTable<void *, SnapVector<action_list_t> *, uintptr_t, 4
> * const
obj_thrd_map;
+ HashTable<void *, SnapVector<action_list_t> *, uintptr_t, 4
>
obj_thrd_map;
SnapVector<Promise *> promises;
SnapVector<struct PendingFutureValue> futurevalues;
SnapVector<Promise *> promises;
SnapVector<struct PendingFutureValue> futurevalues;