diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-15 08:59:52 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-15 08:59:52 +0000 |
commit | bf4e0f86c9d17dcfaceb827a1eba1e43adb613b6 (patch) | |
tree | 6b513afdb7516c67a699e4d7bc9972fac7c66833 /llvm/unittests/Support/AllocatorTest.cpp | |
parent | 111023cdc6485f01a809366dc48107bbb0ff285f (diff) | |
download | bcm5719-llvm-bf4e0f86c9d17dcfaceb827a1eba1e43adb613b6.tar.gz bcm5719-llvm-bf4e0f86c9d17dcfaceb827a1eba1e43adb613b6.zip |
[Allocator] Pass the size to the deallocation function. This, on some
allocation libraries, may allow more efficient allocation and
deallocation. It at least makes the interface implementable by the JIT
memory manager.
However, this highlights problematic overloading between the void* and
the T* deallocation functions. I'm looking into a better way to do this,
but as it happens, it comes up rarely in the codebase.
llvm-svn: 206265
Diffstat (limited to 'llvm/unittests/Support/AllocatorTest.cpp')
0 files changed, 0 insertions, 0 deletions