Getting ready to shift to dlmalloc

This commit is contained in:
2022-02-23 17:29:49 -05:00
parent 6a9bf4ca42
commit f2ab8d9e34
7 changed files with 6424 additions and 20 deletions

View File

@@ -125,11 +125,6 @@ LuaSourcePtr make_lua_source(const std::string &code);
// Return true if the line of code is a lua comment.
bool is_lua_comment(const std::string &line);
// Malloc some blocks of RAM, and calculate a hash from
// their addresses. This can be used to determine if the malloc
// heap is in a deterministic state.
int hash_of_mallocs();
// Remove nullptrs from a vector of unique pointers.
template<class T>
void remove_nullptrs(std::vector<std::unique_ptr<T>> &vec) {