[llvm] r200906 - Delete all of the CodeGenInstructions from CodeGenTarget destructor.
Craig Topper
craig.topper at gmail.com
Wed Feb 5 22:28:00 PST 2014
Author: ctopper
Date: Thu Feb 6 00:27:59 2014
New Revision: 200906
URL: http://llvm.org/viewvc/llvm-project?rev=200906&view=rev
Log:
Delete all of the CodeGenInstructions from CodeGenTarget destructor.
Modified:
llvm/trunk/utils/TableGen/CodeGenTarget.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenTarget.cpp?rev=200906&r1=200905&r2=200906&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenTarget.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenTarget.cpp Thu Feb 6 00:27:59 2014
@@ -143,6 +143,7 @@ CodeGenTarget::CodeGenTarget(RecordKeepe
}
CodeGenTarget::~CodeGenTarget() {
+ DeleteContainerSeconds(Instructions);
delete RegBank;
delete SchedModels;
}
More information about the llvm-commits
mailing list