From: Vikram S. Adve Date: Mon, 22 Oct 2001 22:32:11 +0000 (+0000) Subject: Delete MachineCodeInfoForMethod object. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7db933d513d9d3c626054480ab1baf26799ce902;p=oota-llvm.git Delete MachineCodeInfoForMethod object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@956 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 9cea29cf227..079f4b6d3ac 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