aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commitfde1b3bb2f15b74c713d98a79fcddaff1ac00dd1 (patch)
tree80b75444ec775521e8d803493cf95d5d41ddc300 /include
parentf93f68347f06f6e12dd214c21436bfde55e66bf7 (diff)
downloadexternal_llvm-fde1b3bb2f15b74c713d98a79fcddaff1ac00dd1.zip
external_llvm-fde1b3bb2f15b74c713d98a79fcddaff1ac00dd1.tar.gz
external_llvm-fde1b3bb2f15b74c713d98a79fcddaff1ac00dd1.tar.bz2
1. Remove condition on delete.
2. Protect and outline createTargetAsmInfo. 3. Misc. kruft. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetMachine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index 6b5efd4..13b0d37 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -76,6 +76,10 @@ protected: // Can only create subclasses.
///
mutable const TargetAsmInfo *AsmInfo;
+ /// createTargetAsmInfo - Create a new instance of target specific asm
+ /// information.
+ virtual const TargetAsmInfo *createTargetAsmInfo() const { return NULL; }
+
public:
virtual ~TargetMachine();
@@ -111,10 +115,6 @@ public:
return AsmInfo;
}
- /// createTargetAsmInfo - Create a new instance of target specific asm
- /// information.
- virtual const TargetAsmInfo *createTargetAsmInfo() const { return NULL; }
-
/// getSubtarget - This method returns a pointer to the specified type of
/// TargetSubtarget. In debug builds, it verifies that the object being
/// returned is of the correct type.