diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-07-30 18:54:22 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-07-30 18:54:22 +0000 | 
| commit | a13a2dac7eebbbe5e9c31966329a208201e6cb3c (patch) | |
| tree | 4c4e40c42b8b5e5d161aa0d1cacb63ff67f1694a /llvm/lib/VMCore/AsmWriter.cpp | |
| parent | 6bb917f083955071dc8de22fde16504df9d3e9e3 (diff) | |
| download | bcm5719-llvm-a13a2dac7eebbbe5e9c31966329a208201e6cb3c.tar.gz bcm5719-llvm-a13a2dac7eebbbe5e9c31966329a208201e6cb3c.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: 3160
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
0 files changed, 0 insertions, 0 deletions

