[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h
Jim Laskey
jlaskey at apple.com
Thu Sep 7 16:39:52 PDT 2006
Changes in directory llvm/include/llvm/Target:
TargetMachine.h updated: 1.70 -> 1.71
---
Log message:
1. Remove condition on delete.
2. Protect and outline createTargetAsmInfo.
3. Misc. kruft.
---
Diffs of the changes: (+4 -4)
TargetMachine.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.70 llvm/include/llvm/Target/TargetMachine.h:1.71
--- llvm/include/llvm/Target/TargetMachine.h:1.70 Thu Sep 7 17:06:40 2006
+++ llvm/include/llvm/Target/TargetMachine.h Thu Sep 7 18:39:26 2006
@@ -76,6 +76,10 @@
///
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 @@
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.
More information about the llvm-commits
mailing list