diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-30 18:54:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-30 18:54:25 +0000 |
commit | c188eeb08c873da142a47398be6c405ce3f34f51 (patch) | |
tree | ae95cc7c2be2de75aac1162a3d976281b7c5b4cc /include | |
parent | e8e4605021141d689493132a9c7c6fce6294937f (diff) | |
download | external_llvm-c188eeb08c873da142a47398be6c405ce3f34f51.zip external_llvm-c188eeb08c873da142a47398be6c405ce3f34f51.tar.gz external_llvm-c188eeb08c873da142a47398be6c405ce3f34f51.tar.bz2 |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions