bmalloc: memory APIs don't need to be heap data members
Created attachment 312237 [details] Patch
Created attachment 312238 [details] Patch
Created attachment 312240 [details] Patch
Created attachment 312242 [details] Patch
Created attachment 312244 [details] Patch
Committed r217918: <http://trac.webkit.org/changeset/217918>
Comment on attachment 312244 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=312244&action=review > Source/bmalloc/bmalloc/AvailableMemory.h:52 > + auto memoryUse = memoryStatus(); > + return memoryUse.memoryFootprint; Nicer without a local variable. > Source/bmalloc/bmalloc/AvailableMemory.h:58 > + auto memoryUse = memoryStatus(); > + return memoryUse.percentAvailableMemoryInUse; Ditto.