Check "latestRoot" property
This commit is contained in:
1 parent
1492a1c3d4
commit
efd2405443
1 file changed
+4
@@ -962,6 +962,10 @@ struct __attribute__((__visibility__("hidden"))) VersionedMap::Impl {
|
|||||||
}
|
}
|
||||||
roots.add(latestRoot, latestVersion);
|
roots.add(latestRoot, latestVersion);
|
||||||
totalMallocBytes += mallocBytesDelta;
|
totalMallocBytes += mallocBytesDelta;
|
||||||
|
|
||||||
|
// Check the "latestRoot is only meaningful in the callstack of
|
||||||
|
// addMutations" property
|
||||||
|
VALGRIND_MAKE_MEM_UNDEFINED(&latestRoot, sizeof(latestRoot));
|
||||||
}
|
}
|
||||||
|
|
||||||
struct StepwiseFirstGeq {
|
struct StepwiseFirstGeq {
|
||||||
|
|||||||
Reference in new issue
Block a user