diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-01 21:01:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-01 21:01:15 +0000 |
commit | 5b1b4489cf3a0f56f8be0673fc5cc380a32d277b (patch) | |
tree | 3bff4e3dc0b54a8d194d2c8714ac18873c32e820 /include/llvm/Target/TargetMachine.h | |
parent | 94214703d97d8d9dfca88174ffc7e94820a85e62 (diff) |
Rename TargetSubtarget to TargetSubtargetInfo for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 6544ce25f8..01fdb574da 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -36,7 +36,7 @@ class TargetJITInfo; class TargetLowering; class TargetRegisterInfo; class TargetSelectionDAGInfo; -class TargetSubtarget; +class TargetSubtargetInfo; class formatted_raw_ostream; class raw_ostream; @@ -94,8 +94,8 @@ protected: // Can only create subclasses. TargetMachine(const Target &); /// getSubtargetImpl - virtual method implemented by subclasses that returns - /// a reference to that target's TargetSubtarget-derived member variable. - virtual const TargetSubtarget *getSubtargetImpl() const { return 0; } + /// a reference to that target's TargetSubtargetInfo-derived member variable. + virtual const TargetSubtargetInfo *getSubtargetImpl() const { return 0; } /// TheTarget - The Target that this machine was created for. const Target &TheTarget; @@ -132,7 +132,7 @@ public: const MCAsmInfo *getMCAsmInfo() const { return AsmInfo; } /// getSubtarget - This method returns a pointer to the specified type of - /// TargetSubtarget. In debug builds, it verifies that the object being + /// TargetSubtargetInfo. In debug builds, it verifies that the object being /// returned is of the correct type. template<typename STC> const STC &getSubtarget() const { return *static_cast<const STC*>(getSubtargetImpl()); |