diff options
author | Steve Naroff <snaroff@apple.com> | 2009-01-27 21:25:57 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-01-27 21:25:57 +0000 |
commit | 13ae6f47cdf4f70c5a2c61ca9a7ccbbfcd4348f5 (patch) | |
tree | d8644c83950500600a2fbf17b9df18598cfa14e7 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 573e5291274d1e419a5996ac4a461a0275ad36bd (diff) | |
download | llvm-13ae6f47cdf4f70c5a2c61ca9a7ccbbfcd4348f5.zip llvm-13ae6f47cdf4f70c5a2c61ca9a7ccbbfcd4348f5.tar.gz llvm-13ae6f47cdf4f70c5a2c61ca9a7ccbbfcd4348f5.tar.bz2 |
Remove many references to ASTContext::getAllocator(), replacing them with calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate().
This will simplify runtime replacement of ASTContext's allocator. Keeping the allocator private (and removing getAllocator() entirely) is also goodness.
llvm-svn: 63135
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions