[llvm-commits] CVS: llvm/lib/Target/TargetMachine.cpp
Bill Wendling
isanbard at gmail.com
Tue Jan 16 19:50:56 PST 2007
Changes in directory llvm/lib/Target:
TargetMachine.cpp updated: 1.56 -> 1.57
---
Log message:
Create/store/and delete the TargetObjInfo object.
---
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.56 llvm/lib/Target/TargetMachine.cpp:1.57
--- llvm/lib/Target/TargetMachine.cpp:1.56 Fri Dec 8 20:41:30 2006
+++ llvm/lib/Target/TargetMachine.cpp Tue Jan 16 21:50:41 2007
@@ -13,6 +13,7 @@
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetMachine.h"
+#include "llvm/Target/TargetObjInfo.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Support/CommandLine.h"
using namespace llvm;
@@ -104,6 +105,7 @@
TargetMachine::~TargetMachine() {
delete AsmInfo;
+ delete ObjInfo;
}
/// getRelocationModel - Returns the code generation relocation model. The
More information about the llvm-commits
mailing list