Delete MachineCodeInfoForMethod object.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 22 Oct 2001 22:32:11 +0000 (22:32 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 22 Oct 2001 22:32:11 +0000 (22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@956 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Function.cpp

index 9cea29cf227e1c98648adb230791e3a4152d0b1b..079f4b6d3acf70303ca93e67be4c107a9ff00a33 100644 (file)
@@ -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