diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-02 16:19:54 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-02 16:19:54 +0000 |
commit | 8adeef963217b0a614cdf93b95b44c58cfc5f2e0 (patch) | |
tree | 8535c61d80439e3bf785774489c8042e401733e3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 475386d688796883cf52cd9a84a81a5ecda19247 (diff) | |
download | llvm-8adeef963217b0a614cdf93b95b44c58cfc5f2e0.zip llvm-8adeef963217b0a614cdf93b95b44c58cfc5f2e0.tar.gz llvm-8adeef963217b0a614cdf93b95b44c58cfc5f2e0.tar.bz2 |
Lower the default alignment on ASTContext's operator new.
It was documented as 8 and operator new[] defaults to 8, but the normal
operator new was never updated and happily wasted bytes on every other
allocation.
We still have to allocate all Types with 16 byte alignment, update the
allocation calls for Types that were missing explicit alignment.
llvm-svn: 233922
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions