Changes in directory llvm/lib/Target:

TargetMachine.cpp updated: 1.53 -> 1.54
---
Log message:

Make target asm info a property of the target machine.


---
Diffs of the changes:  (+2 -0)

 TargetMachine.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/TargetMachine.cpp
diff -u llvm/lib/Target/TargetMachine.cpp:1.53 
llvm/lib/Target/TargetMachine.cpp:1.54
--- llvm/lib/Target/TargetMachine.cpp:1.53      Sun Sep  3 23:06:01 2006
+++ llvm/lib/Target/TargetMachine.cpp   Thu Sep  7 17:06:40 2006
@@ -11,6 +11,7 @@
 //
 
//===----------------------------------------------------------------------===//
 
+#include "llvm/Target/TargetAsmInfo.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetOptions.h"
 #include "llvm/Support/CommandLine.h"
@@ -95,6 +96,7 @@
 //
 
 TargetMachine::~TargetMachine() {
+  if (AsmInfo) delete AsmInfo;
 }
 
 /// getRelocationModel - Returns the code generation relocation model. The



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to