diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-08-20 11:11:25 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-08-20 11:11:25 +0000 |
commit | b76f385334405e6517ee60b5dfdf569ff4e94f1f (patch) | |
tree | f1bd4056fc00da863dd7ebdbb9967686883329ca /llvm/lib/MC/MCParser/AsmParser.cpp | |
parent | 15f5efff8f44ccbb3c1f184bbd858c2b7ff5be4f (diff) | |
download | bcm5719-llvm-b76f385334405e6517ee60b5dfdf569ff4e94f1f.tar.gz bcm5719-llvm-b76f385334405e6517ee60b5dfdf569ff4e94f1f.zip |
Free isl_ctx and fix several memory leaks
Because of me not understanding the LLVM pass structure well, I did not find a
good way to allocate isl_ctx and to free it later without getting issues with
reference counting. I now found this place, such that we can free isl_ctx. This
patch also fixes the memory leaks that were ignored beforehand.
llvm-svn: 138204
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions