From 7db933d513d9d3c626054480ab1baf26799ce902 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 22 Oct 2001 22:32:11 +0000 Subject: [PATCH] Delete MachineCodeInfoForMethod object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@956 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Function.cpp | 2 ++ 1 file changed, 2 insertions(+) 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