diff options
| author | Dan Gohman <gohman@apple.com> | 2010-05-11 16:21:03 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-05-11 16:21:03 +0000 |
| commit | 4df9d9ce118e994e095471861a509770e9ac7a0e (patch) | |
| tree | 34a374bdf1561ef572062fe739b91e9ff7170442 /llvm/lib | |
| parent | 9dd3ef8d015999119d95cc4cca938d82b613882f (diff) | |
| download | bcm5719-llvm-4df9d9ce118e994e095471861a509770e9ac7a0e.tar.gz bcm5719-llvm-4df9d9ce118e994e095471861a509770e9ac7a0e.zip | |
Remove the TargetLowering::getSubtarget() virtual function, which
was unused. TargetMachine::getSubtarget() is used instead.
llvm-svn: 103474
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.h | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index d8a230ff697..4d3ef31802c 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -236,7 +236,7 @@ namespace llvm { std::vector<SDValue> &Ops, SelectionDAG &DAG) const; - virtual const ARMSubtarget* getSubtarget() const { + const ARMSubtarget* getSubtarget() const { return Subtarget; } diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h index 440601f9827..bfbe8eb13cd 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.h +++ b/llvm/lib/Target/X86/X86ISelLowering.h @@ -563,7 +563,7 @@ namespace llvm { return !X86ScalarSSEf64 || VT == MVT::f80; } - virtual const X86Subtarget* getSubtarget() const { + const X86Subtarget* getSubtarget() const { return Subtarget; } |

