diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-29 19:20:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-29 19:20:38 +0000 |
commit | 190a7f4a18dc909c8ec2dbb908a55196e7098d01 (patch) | |
tree | 5f5f6493d520eaac77166e450baf700ab24cd812 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | d1303d2a66241c70e0e35dac371636c883235df8 (diff) |
give PATypeHolder an explicit copy ctor which initializes the type pointer,
and make PATypeHolder work with null pointers.
The implicitly generated one didn't work on numerous levels, but was still
accepted, allowing all sorts of bugs with default constructed pa type holders.
Previously, they "sort of" worked if they were default constructed and then
destructed. Now they really work, and you can even default construct one,
then assign to it, amazing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions