From a4f328f68b83dd5fc8387523f0df956816c53384 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 6 Feb 2014 06:27:59 +0000 Subject: [PATCH] Delete all of the CodeGenInstructions from CodeGenTarget destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200906 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenTarget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index b8d5e2d30f6..3ba49c70b4d 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -143,6 +143,7 @@ CodeGenTarget::CodeGenTarget(RecordKeeper &records) } CodeGenTarget::~CodeGenTarget() { + DeleteContainerSeconds(Instructions); delete RegBank; delete SchedModels; }