projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029af23
)
model: annotate SNAPSHOT for bug_message
author
Brian Norris
<banorris@uci.edu>
Fri, 16 Nov 2012 02:01:31 +0000
(18:01 -0800)
committer
Brian Norris
<banorris@uci.edu>
Fri, 16 Nov 2012 02:01:31 +0000
(18:01 -0800)
Since we use operator new with bug_message, it needs to be marked
SNAPSHOTALLOC.
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 3b83b569baf5c12f356aaf596023ca4fe3b3cde2..436e4681a37926db279df7726da32b02847dbc80 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-28,6
+28,8
@@
struct bug_message {
char *msg;
void print() { printf("%s", msg); }
+
+ SNAPSHOTALLOC
};
/**