summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-30 18:54:25 +0000
committerChris Lattner <sabre@nondot.org>2002-07-30 18:54:25 +0000
commit3cd8c56cbb57f2e15298e38d51705212a9f44527 (patch)
tree6fdacb20c2afed8cbf3bad518e99b334ba7810f4 /llvm/lib/Transforms/TransformInternals.cpp
parenta13a2dac7eebbbe5e9c31966329a208201e6cb3c (diff)
downloadbcm5719-llvm-3cd8c56cbb57f2e15298e38d51705212a9f44527.tar.gz
bcm5719-llvm-3cd8c56cbb57f2e15298e38d51705212a9f44527.zip
Cleanup ConstantExpr handling:
* Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3161
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud