[llvm-commits] CVS: llvm/include/llvm/Target/TargetSubtarget.h
Nate Begeman
natebegeman at mac.com
Mon Jul 11 19:41:30 PDT 2005
Changes in directory llvm/include/llvm/Target:
TargetSubtarget.h updated: 1.1 -> 1.2
---
Log message:
Clean up the TargetSubtarget class a bit, removing an unnecessary argument
to the constructor.
---
Diffs of the changes: (+1 -6)
TargetSubtarget.h | 7 +------
1 files changed, 1 insertion(+), 6 deletions(-)
Index: llvm/include/llvm/Target/TargetSubtarget.h
diff -u llvm/include/llvm/Target/TargetSubtarget.h:1.1 llvm/include/llvm/Target/TargetSubtarget.h:1.2
--- llvm/include/llvm/Target/TargetSubtarget.h:1.1 Mon Jul 11 20:41:54 2005
+++ llvm/include/llvm/Target/TargetSubtarget.h Mon Jul 11 21:41:19 2005
@@ -16,8 +16,6 @@
namespace llvm {
-class Module;
-
//===----------------------------------------------------------------------===//
///
/// TargetSubtarget - Generic base class for all target subtargets. All
@@ -28,10 +26,7 @@
TargetSubtarget(const TargetSubtarget&); // DO NOT IMPLEMENT
void operator=(const TargetSubtarget&); // DO NOT IMPLEMENT
protected: // Can only create subclasses...
- /// This constructor initializes the data members to match that
- /// of the specified module.
- ///
- TargetSubtarget(const Module &M);
+ TargetSubtarget();
public:
virtual ~TargetSubtarget();
};
More information about the llvm-commits
mailing list