initial implementation of addressing mode 2
[oota-llvm.git] / lib / Target / TargetMachine.cpp
index 3a9c8b30c438ecacc3bd2bf85dc64482a38ad219..e4ece7b4d52b4996504ae872e1b57be5469c50d8 100644 (file)
@@ -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 @@ namespace {
 //
 
 TargetMachine::~TargetMachine() {
+  delete AsmInfo;
 }
 
 /// getRelocationModel - Returns the code generation relocation model. The