summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-09-07 23:39:26 +0000
committerJim Laskey <jlaskey@mac.com>2006-09-07 23:39:26 +0000
commitae92ce879869da3a486f16a69f8136139d83ddb2 (patch)
tree2ed034236521948bc397328ad46cef1fda3c9129 /llvm/lib/Target/ARM/ARMTargetMachine.cpp
parent0142cd129e49492673158fad59716b29f98af664 (diff)
downloadbcm5719-llvm-ae92ce879869da3a486f16a69f8136139d83ddb2.tar.gz
bcm5719-llvm-ae92ce879869da3a486f16a69f8136139d83ddb2.zip
1. Remove condition on delete.
2. Protect and outline createTargetAsmInfo. 3. Misc. kruft. llvm-svn: 30169
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetMachine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetMachine.cpp b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
index 175335f5c11..ccf0fb7ed67 100644
--- a/llvm/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
@@ -11,6 +11,7 @@
//
//===----------------------------------------------------------------------===//
+#include "ARMTargetAsmInfo.h"
#include "ARMTargetMachine.h"
#include "ARMFrameInfo.h"
#include "ARM.h"
@@ -24,6 +25,12 @@ namespace {
RegisterTarget<ARMTargetMachine> X("arm", " ARM");
}
+
+const TargetAsmInfo *ARMTargetMachine::createTargetAsmInfo() const {
+ return new ARMTargetAsmInfo(*this);
+}
+
+
/// TargetMachine ctor - Create an ILP32 architecture model
///
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
OpenPOWER on IntegriCloud