summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-29 19:20:38 +0000
committerChris Lattner <sabre@nondot.org>2010-06-29 19:20:38 +0000
commit3f617c1125a81c42c9a563051b4b1060e627f8c7 (patch)
treeea9f3222e1939bc3c590bc83eb949f45afdbe241 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent6969fb73cab2ecec446b02ed6671de8a24b4fc75 (diff)
downloadbcm5719-llvm-3f617c1125a81c42c9a563051b4b1060e627f8c7.tar.gz
bcm5719-llvm-3f617c1125a81c42c9a563051b4b1060e627f8c7.zip
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. llvm-svn: 107195
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud