diff options
author | John McCall <rjmccall@apple.com> | 2010-02-16 04:15:37 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-02-16 04:15:37 +0000 |
commit | 6ce747220a28dfdfc8c1993e3983eba21f435293 (patch) | |
tree | 68e805c1e3d574f98256613a5382c7a3b6475263 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1e3715acc3fe49c8b6ed3767288e7a4223aa2296 (diff) | |
download | llvm-6ce747220a28dfdfc8c1993e3983eba21f435293.zip llvm-6ce747220a28dfdfc8c1993e3983eba21f435293.tar.gz llvm-6ce747220a28dfdfc8c1993e3983eba21f435293.tar.bz2 |
When emitting complete destructors for classes with virtual bases, compute
the offset to the virtual bases statically inside of relying on the virtual
base offsets in the object's vtable(s). This is both more efficient and
sound against the destructor's manipulation of the vtables.
Also extract a few helper routines.
Oh and we seem to pass all tests with an optimized clang now.
llvm-svn: 96327
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions