projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: rename variable to be more clear
[model-checker.git]
/
mymemory.cc
diff --git
a/mymemory.cc
b/mymemory.cc
index 08bd4e437c897967830d5dc760d0d4f27f351b50..6ea6b92927c4ddebabe5b690b13800667a70fd08 100644
(file)
--- a/
mymemory.cc
+++ b/
mymemory.cc
@@
-135,7
+135,7
@@
void * HandleEarlyAllocationRequest(size_t sz)
sz = (sz + 7) & ~7;
if (sz > (BOOTSTRAPBYTES-offset)) {
sz = (sz + 7) & ~7;
if (sz > (BOOTSTRAPBYTES-offset)) {
-
printf
("OUT OF BOOTSTRAP MEMORY\n");
+
model_print
("OUT OF BOOTSTRAP MEMORY\n");
exit(EXIT_FAILURE);
}
exit(EXIT_FAILURE);
}
@@
-149,9
+149,7
@@
mspace model_snapshot_space = NULL;
#if USE_MPROTECT_SNAPSHOT
#if USE_MPROTECT_SNAPSHOT
-/** @brief Global mspace reference for the user's snapshotting heap
- * @todo use this ONLY for user's allocations, not for internal snapshotting
- * state */
+/** @brief Global mspace reference for the user's snapshotting heap */
mspace user_snapshot_space = NULL;
/** Check whether this is bootstrapped memory that we should not free */
mspace user_snapshot_space = NULL;
/** Check whether this is bootstrapped memory that we should not free */