diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-22 22:32:11 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-22 22:32:11 +0000 |
commit | 7db933d513d9d3c626054480ab1baf26799ce902 (patch) | |
tree | deacc5664762c3b1dc9983628043ca87c5df9c61 /lib/VMCore/Function.cpp | |
parent | c895294762d6cb46181d473a32e9249ef042a747 (diff) |
Delete MachineCodeInfoForMethod object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 9cea29cf22..079f4b6d3a 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -44,6 +44,8 @@ Method::~Method() { // Delete all of the method arguments and unlink from symbol table... ArgumentList.delete_all(); ArgumentList.setParent(0); + + delete machineCode; } // Specialize setName to take care of symbol table majik |