aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-11 16:21:03 +0000
committerDan Gohman <gohman@apple.com>2010-05-11 16:21:03 +0000
commit419e4f92635cfaa409282691437aff99062e4e0b (patch)
tree0f2d8a847e556eacaabc62d13bd435ee779f6c49 /include/llvm/Target
parent2320a44b903fa0fc3f05cf91f89dc0254923a736 (diff)
downloadexternal_llvm-419e4f92635cfaa409282691437aff99062e4e0b.zip
external_llvm-419e4f92635cfaa409282691437aff99062e4e0b.tar.gz
external_llvm-419e4f92635cfaa409282691437aff99062e4e0b.tar.bz2
Remove the TargetLowering::getSubtarget() virtual function, which
was unused. TargetMachine::getSubtarget() is used instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetLowering.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 4ea6c94..e1209d3 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1103,12 +1103,6 @@ protected:
}
public:
-
- virtual const TargetSubtarget *getSubtarget() const {
- assert(0 && "Not Implemented");
- return NULL; // this is here to silence compiler errors
- }
-
//===--------------------------------------------------------------------===//
// Lowering methods - These methods must be implemented by targets so that
// the SelectionDAGLowering code knows how to lower these.